Update Dockerfile

master
Dex Burgess 2024-08-16 03:26:20 +00:00
parent 9219d32102
commit 141f5f400b
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ RUN yarn install
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM node:20-alpine AS builder FROM node:20-alpine AS builder
ENV NEXT_PRIVATE_STANDALONE true
WORKDIR /app WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules