graffen-foodtruck/Dockerfile
dne 4dcc9f4773 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>
2026-03-23 20:49:37 +01:00

9 lines
189 B
Docker

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