chatbot_example / Dockerfile
haiderlawati's picture
change python to 3.11.4 in Dockerfile
7ca928d
Raw History Blame Contribute Delete
381 Bytes
# 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"]