12 lines
262 B
Docker
12 lines
262 B
Docker
# Use the official lightweight Nginx image
|
|
FROM nginx:alpine
|
|
|
|
# Copy the static HTML file into the Nginx web root directory
|
|
COPY index.html /usr/share/nginx/html/
|
|
|
|
# Expose port 80 to the outside world
|
|
EXPOSE 80
|
|
|
|
# Start Nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|