Update Dofckerfile sveltekit node.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user