Skip to content

Commit

Permalink
build: 🎨 Use COPY instead of ADD for files and folders
Browse files Browse the repository at this point in the history
For items like files and directories that do not require ADD’s tar auto-extraction capability, you should always use COPY. Read more about it here.
  • Loading branch information
VermiumSifell committed May 29, 2023
1 parent 1ffc525 commit 6b76d6e
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 @@ -23,7 +23,7 @@ ENV NODE_ENV production

# Add mysql precheck
RUN apk add --no-cache mysql-client
ADD docker-entrypoint.sh /docker-entrypoint.sh
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh

# Copy files
Expand Down

0 comments on commit 6b76d6e

Please sign in to comment.