Skip to content

Commit 36090d8

Browse files
committed
Fix: Changed script order in Dockerfile
1 parent 86185e4 commit 36090d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.dev

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ COPY --chown=wagtail:wagtail entrypoint.dev.sh /app/entrypoint.dev.sh
5454
# Make the entrypoint script executable
5555
RUN chmod +x /app/entrypoint.dev.sh
5656

57-
# Use user "wagtail" to run the build commands below and the server itself.
58-
USER wagtail
59-
6057
# Copy the wait-for-it script
6158
COPY wait-for-it.sh /app/wait-for-it.sh
6259

6360
# Make the script executable
6461
RUN chmod +x /app/wait-for-it.sh
6562

63+
# Use user "wagtail" to run the build commands below and the server itself.
64+
USER wagtail
65+
6666
# # Collect static files.
6767
# RUN python manage.py collectstatic --noinput --clear
6868

0 commit comments

Comments
 (0)