Files
eveAI/docker/nginx/Dockerfile
Josako 7702a6dfcc - Modernized authentication with the introduction of TenantProject
- Created a base mail template
- Adapt and improve document API to usage of catalogs and processors
- Adapt eveai_sync to new authentication mechanism and usage of catalogs and processors
2024-11-21 17:24:33 +01:00

30 lines
1.0 KiB
Docker

# Use the official Nginx image as the base image
FROM nginx:latest
# Copy the custom Nginx configuration file into the container
COPY ../../nginx/nginx.conf /etc/nginx/nginx.conf
# Copy the mime.types file into the container
COPY ../../nginx/mime.types /etc/nginx/mime.types
# Copy static & public files
RUN mkdir -p /etc/nginx/static /etc/nginx/public
COPY ../../nginx/static /etc/nginx/static
COPY ../../integrations/Wordpress/eveai-chat-widget/public/css/eveai-chat-style.css /etc/nginx/static/css/
COPY ../../integrations/Wordpress/eveai-chat-widget/public/js/eveai-chat-widget.js /etc/nginx/static/js/
COPY ../../integrations/Wordpress/eveai-chat-widget/public/js/eveai-sdk.js /etc/nginx/static/js
COPY ../../nginx/public /etc/nginx/public
# Copy site-specific configurations
RUN mkdir -p /etc/nginx/sites-enabled
COPY ../../nginx/sites-enabled/ /etc/nginx/sites-enabled/
# Ensure log directory exists
RUN mkdir -p /var/log/nginx
# Expose the necessary port
EXPOSE 80
EXPOSE 8080
# Start Nginx when the container starts
# CMD ["nginx", "-g", "daemon off;"]