????
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 node
|
||||||
USER root
|
USER root
|
||||||
RUN mkdir -p /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
|
||||||
|
VOLUME /var/lib/waffle
|
||||||
USER node
|
USER node
|
||||||
CMD [ "/bin/sh", "-c", "node index.js" ]
|
CMD [ "/bin/sh", "-c", "node index.js" ]
|
||||||
|
|
|
@ -11,7 +11,7 @@ services:
|
||||||
waffle:
|
waffle:
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- ./tmp/uploads:/var/lib/waffle
|
- ./tmp/waffle:/var/lib/waffle
|
||||||
ports:
|
ports:
|
||||||
- "5002:3000"
|
- "5002:3000"
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue