a
This commit is contained in:
parent
680ceee880
commit
d4d34d8eb0
2 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,4 @@ WORKDIR /app
|
|||
COPY --from=strip-dev-deps /app ./
|
||||
COPY --from=frontend-compiler /app/frontend/public ./frontend/public
|
||||
RUN echo "JWT_SECRET=$(openssl rand -base64 256 | tr -d '\n')" > .env
|
||||
RUN mkdir -p /var/lib/waffle/uploads && chown -R node /var/lib/waffle/uploads
|
||||
USER node
|
||||
CMD [ "/bin/sh", "-c", "node index.js" ]
|
||||
|
|
|
@ -10,6 +10,8 @@ services:
|
|||
- POSTGRES_PASSWORD=supersecretpassword11
|
||||
waffle:
|
||||
build: .
|
||||
volumes:
|
||||
- ./tmp/waffle:/var/lib/waffle
|
||||
ports:
|
||||
- "5002:3000"
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue