الملفات
devops-card/Dockerfile
2025-11-22 09:35:12 +00:00

11 أسطر
309 B
Docker

# Use the official Nginx Alpine image as base
FROM nginx:alpine
# Copy your index.html to Nginx's default public folder
COPY index.html /usr/share/nginx/html/
# Expose port 80 (default HTTP port)
EXPOSE 80
# Start Nginx in foreground mode (required for Docker containers)
CMD ["nginx", "-g", "daemon off;"]