Spaces:
Build error
Build error
File size: 482 Bytes
13a60cc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# Use a lightweight Nginx base image
FROM nginx:alpine
# Copy the custom index.html file into the Nginx default directory
# Nginx serves content from /usr/share/nginx/html by default
COPY index.html /usr/share/nginx/html/index.html
# Expose port 80, which is a privileged port (<1024)
# Nginx's master process runs as root to bind to this port,
# then worker processes drop privileges.
EXPOSE 80
# The default Nginx CMD will start the server
# CMD ["nginx", "-g", "daemon off;"]
|