File size: 381 Bytes
b3f834c
85d5031
7ca928d
b3f834c
 
 
 
 
 
 
 
 
 
 
c41084d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 1. Base image
#FROM python:3.8.5-slim-buster
FROM python:3.11.4

WORKDIR /src

# 2. Copy files
COPY . /src

# 3. Install dependencies
RUN pip install --no-cache-dir --upgrade -r /src/requirements.txt


# 4. RUN the application
CMD ["panel", "serve", "/src/chatbot.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "haiderlawati-chatbot-example.hf.space"]