consistenly use COPY over ADD

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
Mikolaj Pawlikowski
2019-03-13 16:15:13 +00:00
parent 7b156add72
commit 3ce0c46f91
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
FROM scratch
ADD bin/goldpinger /goldpinger
COPY ./static /static
COPY bin/goldpinger /goldpinger
COPY static /static
ENTRYPOINT ["/goldpinger", "--static-file-path", "/static"]
+1 -1
View File
@@ -1,3 +1,3 @@
ARG TAG
FROM $TAG
COPY ./vendor /goldpinger-vendor-sources
COPY vendor /goldpinger-vendor-sources