nginDocker / Dockerfile
Clone04's picture
Update Dockerfile
6252ca9 verified
raw
history blame
321 Bytes
# 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;"]