Files
hello/Dockerfile

12 lines
239 B
Docker
Raw Normal View History

2025-09-25 14:09:54 +00:00
# Use the official Nginx image as base
FROM nginx:alpine
# Copy custom index.html to nginx default html folder
COPY index.html /usr/share/nginx/html/index.html
# Expose port 80
EXPOSE 80
# Start Nginx
CMD ["nginx", "-g", "daemon off;"]