propagationshield-env / Dockerfile
pragunk's picture
Upload 14 files
dada368 verified
raw
history blame contribute delete
280 Bytes
FROM python:3.10
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
# HF Spaces requires servers to listen on port 7860
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]