From 3ce0c46f91e0a3ea22a9685bdd46f70fad275aee Mon Sep 17 00:00:00 2001 From: Mikolaj Pawlikowski Date: Wed, 13 Mar 2019 16:15:13 +0000 Subject: [PATCH] consistenly use COPY over ADD Signed-off-by: Mikolaj Pawlikowski --- build/Dockerfile-simple | 4 ++-- build/Dockerfile-vendor | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Dockerfile-simple b/build/Dockerfile-simple index f3a9ae5..3c6807a 100644 --- a/build/Dockerfile-simple +++ b/build/Dockerfile-simple @@ -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"] diff --git a/build/Dockerfile-vendor b/build/Dockerfile-vendor index ef05e31..cde12a1 100644 --- a/build/Dockerfile-vendor +++ b/build/Dockerfile-vendor @@ -1,3 +1,3 @@ ARG TAG FROM $TAG -COPY ./vendor /goldpinger-vendor-sources +COPY vendor /goldpinger-vendor-sources