Use COPY instead of ADD

This commit is contained in:
Girish Ramakrishnan 2021-07-21 14:26:58 -07:00
parent 16de972113
commit 93853449f9
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ ARG MC_VERSION=RELEASE.2021-06-13T17-48-22Z
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio && \
wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
ADD start.sh /app/code/start.sh
ADD minio-credentials /app/code/minio-credentials
COPY start.sh /app/code/start.sh
COPY minio-credentials /app/code/minio-credentials
CMD [ "/app/code/start.sh" ]