Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app

COPY package.json pnpm-lock.yaml ./
RUN npm install -g corepack@latest
RUN corepack enable pnpm && pnpm i --frozen-lockfile

# Rebuild the source code only when needed
Expand All @@ -15,6 +16,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

RUN npm install -g corepack@latest
RUN corepack enable pnpm && pnpm run build

# Production image, copy all the files and run next
Expand Down