Spaces:
Runtime error
Runtime error
# 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;"] |