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:
parent
70857e117b
commit
d5b7b9925c
1 changed files with 3 additions and 2 deletions
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue