fix(docker): fix missing ENV variables & files

This commit is contained in:
Damien Laureaux 2024-11-14 16:59:22 +01:00
parent 0c5280e05d
commit 68b649cff8
No known key found for this signature in database
GPG key ID: 3802EADA1C1C604D
2 changed files with 4 additions and 1 deletions

View file

@ -21,6 +21,9 @@ RUN yarn install --frozen-lockfile && yarn build
FROM node:22-alpine
ENV NEXT_PUBLIC_WS_URL=ws://localhost:3001
ENV NEXT_PUBLIC_API_URL=http://localhost:3001/api
WORKDIR /app
# Copy built assets from the builder stage