Skip to content

Commit

Permalink
Merge pull request #30 from codeforequity-at/resources-directory-as-v…
Browse files Browse the repository at this point in the history
…olume

Add resources directory as volume
  • Loading branch information
murliwatz authored Oct 11, 2024
2 parents 69d5ce0 + 3344cc4 commit 862b32a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RUN find . -type f ! -path '*/node_modules/*' -print0 | xargs -0 dos2unix

EXPOSE 56000

RUN mkdir -p /app/resources && chown -R node:node /app/resources
VOLUME /app/resources

RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
RUN chown -R 1000:1000 /app
USER node
CMD npm run start-dist
CMD npm run start-dist

0 comments on commit 862b32a

Please sign in to comment.