sso-poc-marn/Dockerfile
Guillaume "B.B." Van Hemmen 7d017d7feb
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
#0000 - Reorganize and enhance the NGINX configuration structure
Introduce a refined NGINX configuration template with user, worker settings, and modular include directives. This improves clarity and allows easier integration of additional configuration files, while maintaining existing CORS settings.
2024-10-21 10:18:32 +02:00

14 lines
427 B
Docker

# Use the official Nginx image from Docker Hub
FROM nginx:alpine3.20
# Copy your application files to the appropriate directory if needed
COPY dist /usr/share/nginx/html
# Copy custom Nginx configuration file to the container
COPY nginx-extra.conf /etc/nginx/conf.d/nginx-extra.conf
# Expose the port that the application is running on
EXPOSE 80
# Start Nginx when the container launches
CMD ["nginx", "-g", "daemon off;"]