Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[N/A] ensures Corepack is up-to-date to get registry fix #269

Merged
merged 1 commit into from
Feb 3, 2025
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 .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22.2.0
v22.11.0
3 changes: 2 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.2.0-alpine
FROM node:22.11.0-alpine

ARG DB_HOST
ARG DB_PORT
Expand Down Expand Up @@ -47,6 +47,7 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml tsconfig.json ./
COPY api ./api
COPY shared ./shared

RUN npm install -g corepack
RUN corepack enable pnpm
RUN pnpm install

Expand Down
8 changes: 2 additions & 6 deletions backoffice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.2.0-alpine
FROM node:22.11.0-alpine

ARG DB_HOST
ARG DB_PORT
Expand Down Expand Up @@ -27,14 +27,10 @@ COPY backoffice ./backoffice
COPY shared ./shared
COPY api ./api


RUN npm install -g corepack
RUN corepack enable pnpm


RUN pnpm install



EXPOSE 1000


Expand Down
3 changes: 2 additions & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.2.0-alpine
FROM node:22.11.0-alpine

ARG NEXT_PUBLIC_API_URL
ARG NEXTAUTH_SECRET
Expand All @@ -18,6 +18,7 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml tsconfig.json ./
COPY client ./client
COPY shared ./shared

RUN npm install -g corepack
RUN corepack enable pnpm
RUN pnpm install

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"shared:deps": "pnpm --filter shared install",
"all:prod": "pnpm run build:client && pnpm run build:api && pnpm run start:client:prod & pnpm run start:api:prod & pnpm run start:admin:prod"
},
"packageManager": "pnpm@10.0.0+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b"
"packageManager": "pnpm@10.1.0+sha512.c89847b0667ddab50396bbbd008a2a43cf3b581efd59cf5d9aa8923ea1fb4b8106c041d540d08acb095037594d73ebc51e1ec89ee40c88b30b8a66c0fae0ac1b"
}
Loading