private-gpt/Dockerfile.nginx
2024-05-05 12:29:14 +05:45

14 lines
No EOL
442 B
Nginx Configuration File

# Use the official Nginx image as the base
FROM nginx:latest
# Copy the custom Nginx configuration file
COPY nginx/nginx.conf /etc/nginx/nginx.conf
# Copy SSL certificates
COPY nginx/ssl/giblserver.key /etc/nginx/ssl/giblserver.key
COPY nginx/ssl/star.gibl.com.np.crt /etc/nginx/ssl/star.gibl.com.np.crt
# Expose port 80 for incoming HTTP requests
EXPOSE 80
# Start Nginx in the foreground
CMD ["nginx", "-g", "daemon off;"]