# Dockerfile for pre-built Angular frontend (air-gapped/restricted environments) # # IMPORTANT: You must build the Angular app BEFORE running docker-compose! # Run this command first: ./build-for-airgap.sh # OR manually: cd frontend && npm install && npm run build:prod # # This Dockerfile expects frontend/dist/frontend/browser to exist FROM nginx:alpine # Copy pre-built Angular app to nginx # If this step fails, you need to run: ./build-for-airgap.sh COPY frontend/dist/frontend/browser /usr/share/nginx/html # Copy nginx configuration COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]