Conways_Game_of_life/Dockerfile
Sami 75119916e8 Add Dockerfile and update README for Docker deployment
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-31 04:09:45 -04:00

11 lines
256 B
Docker

# Use the official Nginx image as the base image
FROM nginx:alpine
# Copy the local files to the Nginx default directory
COPY . /usr/share/nginx/html
# Expose port 80
EXPOSE 80
# Start Nginx when the container launches
CMD ["nginx", "-g", "daemon off;"]