mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 16:23:11 +02:00
12 lines
298 B
Docker
12 lines
298 B
Docker
# Use the official Nginx image from the Docker Hub
|
|
FROM nginx:alpine
|
|
|
|
# Copy the static website file into the Nginx server directory
|
|
COPY index.html /usr/share/nginx/html/index.html
|
|
|
|
# Expose port 80
|
|
EXPOSE 80
|
|
|
|
# Start Nginx and keep it running in the foreground
|
|
CMD ["nginx", "-g", "daemon off;"]
|