Files
api/services/nginx/Dockerfile
T
2025-01-29 14:27:44 +01:00

14 lines
353 B
Docker

# NGINX Dockerfile
FROM nginx:1.27.3-alpine
# Import the configuration file for Nginx
COPY nginx.conf /etc/nginx/nginx.conf
# Copy the contents of the /app directory to the /var/www/html directory
COPY /app /var/www/html
# Expose port 80 (HTTP) and 443 (HTTPS)
EXPOSE 80 443
# Start Nginx when the container starts
CMD ["nginx", "-g", "daemon off;"]