Skip to content

Commit

Permalink
feat: migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
VilemRaska committed Mar 3, 2025
1 parent 241c6de commit a00040e
Show file tree
Hide file tree
Showing 6 changed files with 17,944 additions and 27,527 deletions.
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ WORKDIR /app
RUN apk update && apk add --no-cache dumb-init

COPY . .
RUN npm ci
RUN npm install -g corepack@0.32.0
RUN corepack enable
RUN pnpm i --frozen-lockfile

RUN NX_DAEMON=false npm run server:build
RUN X_DAEMON=false npm run dashboard:build
RUN NX_DAEMON=false pnpm run server:build
RUN NX_DAEMON=false pnpm run dashboard:build

## RUNTIME IMAGE ###
FROM node:22.13.1-alpine
Expand All @@ -18,9 +20,12 @@ WORKDIR /app
COPY --from=build /usr/bin/dumb-init /usr/bin/dumb-init
COPY --from=build /app/dist/apps ./

RUN npm install -g corepack@0.32.0
RUN corepack enable

WORKDIR /app/gapp-server

RUN npm ci
RUN pnpm i --frozen-lockfile

EXPOSE 3000

Expand Down
Loading

0 comments on commit a00040e

Please sign in to comment.