Skip to content

Commit

Permalink
fix write permissions in dockerfile for openshift deploys (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrosengrant authored Jan 11, 2024
1 parent a148c73 commit 15840b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker/server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ RUN mkdir -p $DOCS_FOLDER && \
chgrp -R 0 $DOCS_FOLDER && \
chmod -R g=u $DOCS_FOLDER

ENV YARN_FOLDER=/.yarn
RUN mkdir -p $YARN_FOLDER && \
chgrp -R 0 $YARN_FOLDER && \
chmod -R g=u $YARN_FOLDER

ENV CACHE_FOLDER=/.cache
RUN mkdir -p $CACHE_FOLDER && \
chgrp -R 0 $CACHE_FOLDER && \
chmod -R g=u $CACHE_FOLDER

EXPOSE $HTTP_PORT $HTTPS_PORT

CMD yarn start $ARGS

0 comments on commit 15840b5

Please sign in to comment.