Fix environment variable copying in Dockerfile for runtime stage
This commit is contained in:
@@ -23,6 +23,7 @@ FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app ./
|
||||
COPY .env.production .env
|
||||
|
||||
RUN npm install -g pnpm@9 \
|
||||
&& pnpm install --prod --frozen-lockfile
|
||||
|
||||
Reference in New Issue
Block a user