nginx-hello-world/Dockerfile
2024-11-17 13:03:45 -03:00

9 lines
210 B
Docker

# Use the official Nginx image from the Docker Hub
FROM nginx:alpine
# Copy the index.html file to the default Nginx HTML directory
COPY index.html /usr/share/nginx/html/index.html
# Expose port 80
EXPOSE 80