Skip to content

Commit

Permalink
Update Dockerfile to use COPY instead of ADD as recommended on https:…
Browse files Browse the repository at this point in the history
…//docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy (#946)

Signed-off-by: TheDen <deniskhoshaba@gmail.com>

Co-authored-by: Adam Warner <me@adamwarner.co.uk>
  • Loading branch information
TheDen and PromoFaux committed Dec 9, 2021
1 parent 7049b5d commit f70a4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN bash -ex install.sh 2>&1 && \

ENTRYPOINT [ "/s6-init" ]

ADD s6/debian-root /
COPY s6/debian-root /
COPY s6/service /usr/local/bin/service

# php config start passes special ENVs into
Expand Down

0 comments on commit f70a4f4

Please sign in to comment.