File tree Expand file tree Collapse file tree 4 files changed +7
-25
lines changed
Expand file tree Collapse file tree 4 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 1+ ** /node_modules
2+ ** /.git
3+ ** /.gitignore
4+ ** /* .md
5+ ** /dist
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,28 +7,15 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
77COPY ./packages/backend ./packages/backend/
88COPY ./packages/shared ./packages/shared/
99
10- RUN HUSKY=0 pnpm install --no- frozen-lockfile
10+ RUN HUSKY=0 pnpm install --frozen-lockfile
1111
12- COPY ./packages/backend ./packages/backend
13- COPY ./packages/shared ./packages/shared
14- COPY ./tsconfig.json ./
1512RUN cd ./packages/backend && pnpm build
1613
1714FROM node:20-alpine AS production
1815
1916WORKDIR /app
2017
21- RUN npm install -g pnpm
22-
23- COPY --from=builder /app/package.json /app/pnpm-workspace.yaml ./
24- COPY --from=builder /app/packages/backend/package.json ./packages/backend/
25- COPY --from=builder /app/packages/shared/package.json ./packages/shared/
26-
27- RUN HUSKY=0 pnpm install --no-frozen-lockfile --prod --ignore-scripts
28-
29- COPY --from=builder /app/packages/backend/dist ./packages/backend/dist
30-
31- COPY --from=builder /app/packages/shared ./packages/shared
18+ COPY --from=builder /app .
3219
3320WORKDIR /app/packages/backend
3421
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments