Skip to content

Commit

Permalink
Remove permission update.
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Sep 25, 2024
1 parent e338475 commit 688545e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ RUN chmod +x /app
RUN python3 -m pip install -r requirements.txt

# TODO: move to entrypoint in deployment template?
CMD sh -c "chmod -R 777 /app && \
python3 manage.py migrate --noinput && \
# chmod -R 777 /app && \
CMD sh -c "python3 manage.py migrate --noinput && \

Check warning on line 78 in backend/Dockerfile

View workflow job for this annotation

GitHub Actions / Builds (backend)

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
./load_fixtures.sh all && \
python3 manage.py createinitialrevisions && \
python3 manage.py collectstatic --noinput && \
Expand Down

0 comments on commit 688545e

Please sign in to comment.