feuerwehr-schadensmeldung/Dockerfile.frontend
Jonas Leder 98c79345a6 Add deployment files and documentation
- Dockerfiles, nginx config, GitLab CI and Helm chart based on the
  timetracker setup, adapted to DB backed sessions and group mapping
- README with role model, dashboard registration and configuration
- backend/.env.example

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 15:07:27 +02:00

10 lines
438 B
Text

FROM --platform=$BUILDPLATFORM node:24.18-alpine@sha256:a0b9bf06e4e6193cf7a0f58816cc935ff8c2a908f81e6f1a95432d679c54fbfd AS build
WORKDIR /app
COPY ./frontend ./
RUN yarn install --immutable && \
yarn build
FROM cgr.dev/chainguard/nginx@sha256:76cc70e5e8da88ae76ff585525c340fc09d54018c5c902551d61a24c2b3ac0d2
WORKDIR /usr/share/nginx/html
COPY --from=build /app/dist/ .
COPY container/nginx.conf /etc/nginx/conf.d/nginx.default.conf