Skip to content

Commit

Permalink
fix: update docker file (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush authored Dec 22, 2024
1 parent 68b2b50 commit 7dd5791
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/proompteng/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
FROM node:lts-alpine AS deps
WORKDIR /app
COPY package.json pnpm-lock.yaml .npmrc ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./
COPY apps/proompteng/package.json ./apps/proompteng/
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
RUN corepack enable
RUN pnpm install --frozen-lockfile

FROM node:lts-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
RUN corepack enable
COPY --from=deps /app/node_modules ./node_modules
COPY --from=deps /app/apps/proompteng/node_modules ./apps/proompteng/node_modules
COPY . .
RUN pnpm build

Expand Down

0 comments on commit 7dd5791

Please sign in to comment.