pnpm
This commit is contained in:
parent
2d7ec516f9
commit
6e51197616
1 changed files with 6 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
@ -2,14 +2,16 @@ FROM node:18-bookworm
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN npm i
|
||||
RUN npm i -g pnpm
|
||||
|
||||
RUN pnpm install --frozen-lockfile --prod
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run generate
|
||||
RUN pnpm generate
|
||||
|
||||
RUN npm run build
|
||||
RUN pnpm build
|
||||
|
||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
Loading…
Reference in a new issue