12 lines
252 B
Docker
12 lines
252 B
Docker
# Use nginx alpine for lightweight serving
|
|
FROM nginx:alpine
|
|
|
|
# Copy website files to nginx html directory
|
|
COPY index.html /usr/share/nginx/html/
|
|
|
|
# Expose ports 80 (HTTP) and 443 (HTTPS)
|
|
EXPOSE 80 443
|
|
|
|
# Start nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|