icon-sheet-splitter / Dockerfile
claude[bot]
Add Docker environment for index.html
7b2c18a unverified
raw
history blame contribute delete
335 Bytes
# Use nginx to serve static HTML files
FROM nginx:alpine
# Remove default nginx website
RUN rm -rf /usr/share/nginx/html/*
# Copy our HTML file and assets to nginx directory
COPY index.html /usr/share/nginx/html/
COPY assets/ /usr/share/nginx/html/assets/
# Expose port 80
EXPOSE 80
# Start nginx
CMD ["nginx", "-g", "daemon off;"]