CoolFace
Apppublic

flaskop/sample

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
Dockerfile16 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.95 6RUN useradd -m -u 1000 user7 8WORKDIR /app9 10COPY --chown=user ./requirements.txt requirements.txt11 12RUN pip install --no-cache-dir --upgrade -r requirements.txt13 14COPY --chown=user . /app15 16CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]