feat: add Dockerfile for Coolify static deployment

Multi-stage build: Node für SvelteKit build, Nginx zum Ausliefern.
Kopiert build/ nach /usr/share/nginx/html für die Standard-Coolify-Config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dne 2026-03-23 20:49:37 +01:00
parent 0a2f79ee5e
commit 4dcc9f4773

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/build /usr/share/nginx/html