Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
idabblewith committed Jun 24, 2024
1 parent 253ff01 commit c3b1e7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,13 @@ RUN echo '# Custom .bashrc modifications\n' \
# >> /home/spmsuser/.bashrc
# Ensure bashrc belongs to correct user and runs
RUN chown ${UID}:${GID} /home/spmsuser/.bashrc
# Own app
RUN chown -R ${UID}:${GID} /usr/src/app
# Own the license file to update it
RUN chown -R ${UID}:${GID} /usr/lib/prince/license
# Ensure entrypoint script can run for prince license and gunicorn
RUN chmod +x /usr/src/app/backend/entrypoint.sh

# Ownership set of files etc. in init container
# chown -R ${UID}:${GID} /usr/src/app/backend/files

Expand Down

0 comments on commit c3b1e7f

Please sign in to comment.