dynamicweb2/nginx/Dockerfile

12 lines
251 B
Text
Raw Permalink Normal View History

2023-12-13 05:15:07 +00:00
# Use the official Nginx image from the Docker Hub
FROM nginx:latest
# Copy custom configuration file to Nginx configuration directory
2023-12-13 14:30:54 +00:00
COPY ./nginx.conf /etc/nginx/nginx.conf
2023-12-13 05:15:07 +00:00
# Expose port
EXPOSE 80
# Start Nginx
CMD ["nginx", "-g", "daemon off;"]