this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: migrate deployment to Dockerfile

Replace nixpacks.toml with a multi-stage Dockerfile (node:22-alpine builder + nginx:alpine runner) for faster Coolify deployments.

+18 -8
+18
Dockerfile
··· 1 + FROM node:22-alpine AS builder 2 + 3 + WORKDIR /app 4 + 5 + RUN corepack enable && corepack prepare pnpm@latest --activate 6 + 7 + COPY package.json pnpm-lock.yaml ./ 8 + RUN pnpm install --frozen-lockfile 9 + 10 + COPY . . 11 + RUN pnpm run build 12 + 13 + FROM nginx:alpine 14 + 15 + COPY --from=builder /app/dist /usr/share/nginx/html 16 + 17 + EXPOSE 80 18 + CMD ["nginx", "-g", "daemon off;"]
-8
nixpacks.toml
··· 1 - [phases.setup] 2 - nixPkgs = ['nodejs_22', 'pnpm'] 3 - 4 - [phases.install] 5 - cmds = ['pnpm install'] 6 - 7 - [phases.build] 8 - cmds = ['pnpm run build']