mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Update Dockerfile
Signed-off-by: Six <23470032+6ixfalls@users.noreply.github.com>
This commit is contained in:
parent
d5b7b9925c
commit
46811de453
1 changed files with 2 additions and 3 deletions
|
@ -7,9 +7,8 @@ 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
|
RUN yarn install --production=false && yarn add prosemirror-keymap @next/bundle-analyzer
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
# PROD STAGE
|
# PROD STAGE
|
||||||
|
@ -22,4 +21,4 @@ WORKDIR /app
|
||||||
USER node
|
USER node
|
||||||
COPY --from=builder /app .
|
COPY --from=builder /app .
|
||||||
|
|
||||||
CMD ["npx", "next start"]
|
CMD ["npx", "next start"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue