Skip to content

Commit 3344cc4

Browse files
authored
Add resources directory as volume
1 parent 69d5ce0 commit 3344cc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ RUN find . -type f ! -path '*/node_modules/*' -print0 | xargs -0 dos2unix
1212

1313
EXPOSE 56000
1414

15+
RUN mkdir -p /app/resources && chown -R node:node /app/resources
16+
VOLUME /app/resources
17+
1518
RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
1619
RUN chown -R 1000:1000 /app
1720
USER node
18-
CMD npm run start-dist
21+
CMD npm run start-dist

0 commit comments

Comments
 (0)