CoolFace
Apppublic

creativesar/taskflow

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
Dockerfile17 linesDownload Raw Back to root
1# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker2# you will also find guides on how best to write your Dockerfile3 4FROM python:3.135 6RUN useradd -m -u 1000 user7USER user8ENV PATH="/home/user/.local/bin:$PATH"9 10WORKDIR /app11 12COPY --chown=user ./requirements.txt requirements.txt13RUN pip install --no-cache-dir --upgrade -r requirements.txt14 15COPY --chown=user . .16CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]17