diff --git a/Dockerfile.dev b/Dockerfile.dev index 8cefaa3..982687b 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -54,15 +54,15 @@ COPY --chown=wagtail:wagtail entrypoint.dev.sh /app/entrypoint.dev.sh # Make the entrypoint script executable RUN chmod +x /app/entrypoint.dev.sh -# Use user "wagtail" to run the build commands below and the server itself. -USER wagtail - # Copy the wait-for-it script COPY wait-for-it.sh /app/wait-for-it.sh # Make the script executable RUN chmod +x /app/wait-for-it.sh +# Use user "wagtail" to run the build commands below and the server itself. +USER wagtail + # # Collect static files. # RUN python manage.py collectstatic --noinput --clear