WUT_Computer_Science/Dockerfile

12 lines
298 B
Docker
Raw Normal View History

# Use the official Nginx image from the Docker Hub
FROM nginx:alpine
2024-05-11 16:10:37 +02:00
# Copy the static website file into the Nginx server directory
COPY index.html /usr/share/nginx/html/index.html
2024-05-11 16:10:37 +02:00
# Expose port 80
EXPOSE 80
2024-05-11 16:14:22 +02:00
# Start Nginx and keep it running in the foreground
CMD ["nginx", "-g", "daemon off;"]