thisisishara's picture
add entrypoint.sh
bc3fa9c
raw
history blame
494 Bytes
# Base image
FROM python:3.10
# Set the working directory
WORKDIR /app
# Install NGINX
RUN apt-get update && apt-get install -y nginx
# Copy NGINX configuration
COPY nginx.conf /etc/nginx/nginx.conf
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the source code
COPY ./rasa-assistant/* .
COPY entrypoint.sh .
# Expose ports
EXPOSE 80 7860 5055
CMD ["rasa", "train"]
# Set the entrypoint script
ENTRYPOINT ["/app/entrypoint.sh"]