odin-codespace/portfolio/devops/Dockerfile
smiggiddy 6c14a968c3 adding devops
used gemini to create the k8s/dockerfiles faster
2025-05-02 16:47:07 +00:00

11 lines
No EOL
282 B
Docker

# Use the official nginx image as the base image
FROM nginx:latest
# Copy the HTML and CSS files to the default nginx directory
COPY . /usr/share/nginx/html
# Expose port 80 to the outside world
EXPOSE 80
# Start nginx when the container starts
CMD ["nginx", "-g", "daemon off;"]