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
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Multi-stage build for optimized development and production images

ARG NODE_VERSION=22.13.1
ARG PNPM_VERSION=10.28.1
ARG PNPM_VERSION=9.12.3

# ===========================================================================
# Stage 1: Base image with common dependencies
Expand All @@ -17,8 +17,7 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN corepack enable && \
corepack prepare pnpm@${PNPM_VERSION} --activate
RUN npm install -g pnpm@${PNPM_VERSION}

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
target: development
args:
NODE_VERSION: 22.13.1
PNPM_VERSION: 10.28.1
PNPM_VERSION: 9.12.3
container_name: devops-daily-dev
image: devops-daily:dev
ports:
Expand Down Expand Up @@ -72,7 +72,7 @@ services:
target: production
args:
NODE_VERSION: 22.13.1
PNPM_VERSION: 10.28.1
PNPM_VERSION: 9.12.3
container_name: devops-daily-prod
image: devops-daily:prod
ports:
Expand Down