Spaces:
Sleeping
Sleeping
# Use the official python 3.9 image | |
FROM python:3.10-slim-bullseye | |
# Set the working directory to corrent folder | |
WORKDIR /app | |
# Copy the requirements to working directory | |
COPY ./requirements.txt /app/requirements.txt | |
# Install all packages in requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | |
COPY . /app | |
EXPOSE 7860 | |
CMD ["python", "-m", "chainlit", "run", "model.py", "-h", "--port", "7860"] | |