fix selfhosted docker build

This commit is contained in:
antonio
2025-12-03 17:11:22 +01:00
parent 951860f67e
commit 3881c67b93
6 changed files with 22 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
FROM node:22-alpine as builder
RUN npm i -g pnpm
WORKDIR /home/app
COPY ./package*.json .
@@ -7,7 +8,9 @@ RUN pnpm install
COPY . .
RUN pnpm run compile-only
FROM node:22-alpine
WORKDIR /home/app
RUN npm i -g pnpm
COPY package*.json ./