Skip to content

Commit

Permalink
Update Dockerfile.server
Browse files Browse the repository at this point in the history
  • Loading branch information
coodos authored Feb 13, 2025
1 parent 37598fb commit 9c079af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/dev/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ RUN corepack enable
FROM base AS build
COPY . /usr/src/app
WORKDIR /usr/src/app
npm i -g corepack@latest
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

FROM base AS server
COPY --from=build /usr/src/app /usr/src/app
npm i -g corepack@latest
WORKDIR /usr/src/app
RUN cd ./packages/dtos && pnpm build && cd ../..
EXPOSE 1209
Expand Down

0 comments on commit 9c079af

Please sign in to comment.