sadew12's picture
initial commit
8fb729a verified
Raw
History Blame Contribute Delete
336 Bytes
FROM python:3.11-slim
WORKDIR /code
# Install dependencies
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy templates and source code
COPY . /code
# Hugging Face runs on port 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]