1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

Copy packagejson

This commit is contained in:
Six 2024-01-16 19:16:37 -08:00
parent 70857e117b
commit d5b7b9925c
No known key found for this signature in database
GPG key ID: 00148D3869C21E43

View file

@ -7,8 +7,9 @@ FROM node:16.18.1 as builder
WORKDIR /app WORKDIR /app
COPY ./dist/apps/client ./yarn.lock ./prisma ./ COPY ./dist/apps/client ./yarn.lock ./prisma ./
COPY ./package.json ./
# Install dependencies # Install dependencies
RUN yarn install --production=false && yarn add @next/bundle-analyzer RUN yarn install --production=false
# ------------------------------------------ # ------------------------------------------
# PROD STAGE # PROD STAGE
@ -21,4 +22,4 @@ WORKDIR /app
USER node USER node
COPY --from=builder /app . COPY --from=builder /app .
CMD ["yarn", "run", "start"] CMD ["npx", "next start"]