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