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

13 lines
No EOL
343 B
Docker

# Use an official Nginx image as the base image
FROM nginx:latest
# Set the working directory to /app
WORKDIR /app
# Copy the HTML, CSS, and JavaScript files to the Nginx default directory
COPY . /usr/share/nginx/html
# Expose port 80 to allow external access
EXPOSE 80
# The Nginx server will start automatically when the container starts