docker: fix build

redis: add restart option
This commit is contained in:
vchikalkin 2024-02-17 21:37:07 +03:00
parent ab4612ff12
commit 8dbdbd8053
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ RUN pnpm install
COPY --from=builder /app/out/full/ .
COPY turbo.json turbo.json
COPY .env .env
RUN pnpm dotenv -e .env turbo run build --filter=web...
RUN pnpm dotenv -e .env turbo run build --filter=api...
FROM node:alpine AS runner
WORKDIR /app

View File

@ -37,6 +37,7 @@ services:
ALLOW_EMPTY_PASSWORD: 'yes'
networks:
- auth_network
restart: always
mongo:
image: mongo:latest