File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RUN mkdir -p /config /files /media /logs /db /plugins /savefiles \
3939 # Clean up to reduce image size
4040 && apt clean && rm -rf /var/lib/apt/lists/* \
4141 # Install PNPM package manager globally
42- && npm i -g pnpm@^11.5.1
42+ && npm i -g pnpm@11
4343
4444# Set working directory for the application
4545WORKDIR /app
@@ -48,7 +48,7 @@ WORKDIR /app
4848FROM base AS build
4949
5050# Copy dependency files and install dependencies
51- COPY package.json pnpm-lock.yaml ./
51+ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
5252RUN pnpm install --frozen-lockfile
5353
5454# Copy application source code and build the project
@@ -69,7 +69,7 @@ FROM base AS release
6969ENV NODE_ENV=production
7070
7171# Copy dependency files (ensuring same versions as build)
72- COPY package.json pnpm-lock.yaml ./
72+ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
7373
7474# Copy built application and production dependencies
7575COPY --from=build --chown=node:node /app/dist ./dist
You can’t perform that action at this time.
0 commit comments