trptk-sanity/Dockerfile
Brendon Heinst 867309cab8 Add Dockerfile and nginx config for self-hosted deployment
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:04:49 +01:00

10 lines
239 B
Docker

FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html