1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 15:35:22 +02:00

Update Dockerfile

Signed-off-by: Six <23470032+6ixfalls@users.noreply.github.com>
This commit is contained in:
Six 2024-01-16 19:22:16 -08:00
parent d5b7b9925c
commit 46811de453
No known key found for this signature in database
GPG key ID: 00148D3869C21E43

View file

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