Update Dofckerfile sveltekit node.md

This commit is contained in:
scambier 2024-12-12 13:25:58 +01:00
parent 584049dd9d
commit 7998cf8f55

View File

@ -15,11 +15,10 @@ COPY pnpm-lock.yaml ./
RUN pnpm fetch
COPY . .
# Install production dependencies
RUN pnpm install -r --offline --prod --frozen-lockfile
RUN pnpm install --offline --prod --frozen-lockfile
# Install dev dependencies (needed for the build step)
RUN pnpm install -r --offline --frozen-lockfile
# Install dev dependencies
RUN pnpm install --offline --frozen-lockfile
# Build
ENV NODE_ENV=production