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 1694183 commit dd09019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/dev/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ RUN corepack enable
FROM base AS build
COPY . /usr/src/app
WORKDIR /usr/src/app
npm i -g corepack@latest
RUN 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
RUN npm i -g corepack@latest
WORKDIR /usr/src/app
RUN cd ./packages/dtos && pnpm build && cd ../..
EXPOSE 1209
Expand Down

0 comments on commit dd09019

Please sign in to comment.