fix: repair docker build and apply migrations
Some checks failed
ci / ci (22, ubuntu-latest) (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled

This commit is contained in:
2026-03-25 19:24:15 +01:00
parent 561fb56419
commit 1d5fb09eb0
6 changed files with 45 additions and 17 deletions

View File

@@ -1,10 +1,9 @@
FROM node:22-alpine AS base
RUN corepack enable pnpm
FROM node:22-slim AS base
RUN corepack enable
FROM base AS deps
WORKDIR /app
RUN apk add --no-cache python3 make g++
COPY package.json pnpm-lock.yaml ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile
FROM base AS build
@@ -16,7 +15,5 @@ RUN pnpm build
FROM base AS runtime
WORKDIR /app
COPY --from=build /app/.output ./.output
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "./.output/server/index.mjs"]
CMD ["node", ".output/server/index.mjs"]