Spaces:
Sleeping
Sleeping
File size: 321 Bytes
6252ca9 0a5dd2f 6252ca9 0a5dd2f 6252ca9 0a5dd2f 6252ca9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Use the official NGINX image
FROM nginx:latest
# Remove the default NGINX config
RUN rm /etc/nginx/conf.d/default.conf
# Copy custom config
COPY nginx.conf /etc/nginx/nginx.conf
# Copy static HTML content
COPY html /usr/share/nginx/html
# Expose port 80
EXPOSE 7860
# Start NGINX
CMD ["nginx", "-g", "daemon off;"] |