Files
warehouse13/Dockerfile.frontend.simple
2025-10-14 23:32:38 -05:00

14 lines
296 B
Docker

# Simple approach - build on host and copy dist folder
FROM nginx:alpine
# Copy pre-built Angular app
COPY frontend/dist/frontend /usr/share/nginx/html
# Copy nginx configuration
COPY nginx.conf /etc/nginx/nginx.conf
# Expose port 80
EXPOSE 80
# Start nginx
CMD ["nginx", "-g", "daemon off;"]