Me was dumb dumb
This commit is contained in:
parent
cedd3c8849
commit
8da5cc7970
@ -17,10 +17,12 @@ RUN npm run build
|
|||||||
FROM node:lts-slim as prod
|
FROM node:lts-slim as prod
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN corepack enable pnpm
|
||||||
|
|
||||||
COPY --from=build /app/dist /app/dist
|
COPY --from=build /app/dist /app/dist
|
||||||
COPY --from=build /app/package.json /app/package.json
|
COPY --from=build /app/package.json /app/package.json
|
||||||
COPY --from=build /app/pnpm-lock.yaml /app/pnpm-lock.yaml
|
COPY --from=build /app/pnpm-lock.yaml /app/pnpm-lock.yaml
|
||||||
RUN pnpm install
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
EXPOSE 4321
|
EXPOSE 4321
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user