Files
eveAI/docker/nginx/Dockerfile
Josako 5123de55cc - Change TRAICIE_VACANCY_DEFINTION_SPECIALIST to TRAICIE_ROLE_DEFINITION_SPECIALIST
- Introduce new vanilla-jsoneditor iso older jsoneditor (for viewing a.o. ChatSessions)
- Introduce use of npm to install required javascript libraries
- update Material-kit-pro
- Introduce new top bar to show session defaults, remove old navbar buttons
- Correct Task & Tools editor
2025-05-27 17:37:32 +02:00

30 lines
782 B
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 public files
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;"]