Skip to content

Commit

Permalink
Merge pull request #31 from LL08-MathematicalModelling-dowell/DOCKERI…
Browse files Browse the repository at this point in the history
…ZED_V2

updated the docker config
  • Loading branch information
Goldeno10 authored Nov 20, 2024
2 parents cd80ac6 + 7904bde commit cdb2f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RUN mkdir -p /usr/src/app/staticfiles && chown -R appuser:appgroup /usr/src/app/

# Ensure the logs directory exists and set proper permissions
RUN mkdir -p /usr/src/app/logs && \
chmod -R 777 /usr/src/app/logs && \
chown -R appuser:appgroup /usr/src/app/logs
chown -R appuser:appgroup /usr/src/app/logs && \
chmod -R 775 /usr/src/app/logs

# Change ownership to the non-root user
RUN chown -R appuser:appgroup /usr/src/app
Expand Down

0 comments on commit cdb2f7d

Please sign in to comment.