antragsideen-hagen/frontend/Dockerfile
Dotty Dotter 34d5671997 Initial commit: Antragsideen-App Skeleton
- Backend (FastAPI)
- Frontend
- Docker Compose
- README
2026-03-30 23:49:13 +02:00

15 lines
289 B
Docker

# Build
FROM node:20-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Production
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]