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

14 lines
No EOL
320 B
Docker

# Use an official Nginx image as the base image
FROM nginx:latest
# Remove default Nginx files
RUN rm -rf /usr/share/nginx/html/*
# Copy the project files to the Nginx default directory
COPY . /usr/share/nginx/html
# Expose port 80
EXPOSE 80
# Start Nginx when the container starts
CMD ["nginx", "-g", "daemon off;"]