prolog-webeditor/Dockerfile
Jonas Hinterdorfer 5a5bae2e92
All checks were successful
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 6s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Successful in 11s
implemend a simple webeditor for prolog
2025-03-17 13:13:08 +01:00

16 lines
380 B
Docker

# Use an official Nginx image as the base image
FROM nginx:alpine
# Set the working directory inside the container
WORKDIR /usr/share/nginx/html
# Copy the index.html and adventure.pl files into the Nginx directory
COPY index.html /usr/share/nginx/html/
# Expose port 80 to allow access to the web server
EXPOSE 80
# Start the Nginx server
CMD ["nginx", "-g", "daemon off;"]