????
This commit is contained in:
parent
d43d7e6455
commit
09a95ca28e
2 changed files with 2 additions and 1 deletions
|
@ -27,5 +27,6 @@ RUN echo "JWT_SECRET=$(openssl rand -base64 256 | tr -d '\n')" > .env
|
|||
USER node
|
||||
USER root
|
||||
RUN mkdir -p /var/lib/waffle/uploads && chown -R node /var/lib/waffle/uploads
|
||||
VOLUME /var/lib/waffle
|
||||
USER node
|
||||
CMD [ "/bin/sh", "-c", "node index.js" ]
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
waffle:
|
||||
build: .
|
||||
volumes:
|
||||
- ./tmp/uploads:/var/lib/waffle
|
||||
- ./tmp/waffle:/var/lib/waffle
|
||||
ports:
|
||||
- "5002:3000"
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue