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