mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-11 16:28:37 +01:00
fix selfhosted docker build
This commit is contained in:
@@ -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 build
|
||||
|
||||
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /home/app
|
||||
COPY --from=builder /home/app/.output .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user