mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 08:52:05 +10:00
* Upgrade Dockerfile to node 22
* Pin pnpm to pnpm@10.4.0
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
FROM node:21-alpine AS base
|
FROM node:22-alpine AS base
|
||||||
LABEL org.opencontainers.image.source="https://github.com/docmost/docmost"
|
LABEL org.opencontainers.image.source="https://github.com/docmost/docmost"
|
||||||
|
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
@ -7,7 +7,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm@10.4.0
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user