File size: 331 Bytes
0245be8
 
 
 
 
 
 
 
 
c095e79
0245be8
c095e79
0245be8
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.8-slim

WORKDIR /app/rasa-credentials
COPY . .

# Add CURL
RUN apt-get -y update
RUN apt-get -y install curl

# Install python dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Expose the port
EXPOSE 8889

ENTRYPOINT ["uvicorn", "main:app", "--host", "rasa-credentials", "--port", "8889", "--reload"]