Fix docker
This commit is contained in:
parent
da96cc1485
commit
fb6047de74
@ -2,15 +2,12 @@ FROM node:16 AS builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json pnpm-lock.yaml ./
|
||||||
COPY yarn.lock .
|
RUN pnpm install
|
||||||
COPY .yarn/releases/* .yarn/releases/
|
|
||||||
COPY .yarnrc.yml .
|
|
||||||
RUN yarn install
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN yarn build
|
RUN pnpm build
|
||||||
|
|
||||||
# nginx state for serving content
|
# nginx state for serving content
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user