Skip to content
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM node:20-alpine AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# Use pnpm version according to our package.json, if not the pnpm store will not be in synced later on, resulting in errors
RUN corepack enable && corepack prepare pnpm@8.15.4 --activate
RUN corepack enable && corepack prepare pnpm@9.7.1 --activate
WORKDIR /app

# -----------------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack enable && corepack prepare [email protected] --activate

FROM base AS builder

Expand All @@ -14,9 +14,8 @@ COPY ./packages/contract/ ./packages/contract/
COPY ./packages/schemas/ ./packages/schemas/
COPY ./packages/permissions/ ./packages/permissions/
COPY ./packages/i18n/ ./packages/i18n/
COPY ./packages/tsconfig/ ./packages/tsconfig/

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm install --frozen-lockfile
RUN pnpm run -r build

FROM nginx:alpine
Expand Down