Spaces:
Sleeping
Sleeping
File size: 433 Bytes
2423159 56a395e 2423159 56a395e 2423159 44878ad 2423159 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# 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"]
|