docker madness
This commit is contained in:
parent
09a95ca28e
commit
43792d87b2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ COPY --from=frontend-compiler /app/frontend/public ./frontend/public
|
||||||
RUN echo "JWT_SECRET=$(openssl rand -base64 256 | tr -d '\n')" > .env
|
RUN echo "JWT_SECRET=$(openssl rand -base64 256 | tr -d '\n')" > .env
|
||||||
USER node
|
USER node
|
||||||
USER root
|
USER root
|
||||||
RUN mkdir -p /var/lib/waffle/uploads && chown -R node /var/lib/waffle/uploads
|
|
||||||
VOLUME /var/lib/waffle
|
VOLUME /var/lib/waffle
|
||||||
|
RUN mkdir -p /var/lib/waffle/uploads && chown -R node /var/lib/waffle/uploads
|
||||||
USER node
|
USER node
|
||||||
CMD [ "/bin/sh", "-c", "node index.js" ]
|
CMD [ "/bin/sh", "-c", "node index.js" ]
|
||||||
|
|
Loading…
Reference in a new issue