Update Dofckerfile sveltekit node.md
This commit is contained in:
parent
584049dd9d
commit
7998cf8f55
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user