private-gpt/Dockerfile.nginx
2024-05-05 07:17:16 +05:45

11 lines
No EOL
274 B
Nginx Configuration File

# Use the official Nginx image as the base
FROM nginx:latest
# Copy the custom Nginx configuration file
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80 for incoming HTTP requests
EXPOSE 80
# Start Nginx in the foreground
CMD ["nginx", "-g", "daemon off;"]