CoolFace
Apppublic

palondomus/CaesarFrenchLLM

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
Dockerfile20 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 6WORKDIR /code7 8COPY ./requirements.txt /code/requirements.txt9 10RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt11 12RUN useradd -m -u 1000 user13USER user14ENV HOME=/home/user \15	PATH=/home/user/.local/bin:$PATH16 17WORKDIR $HOME/app18 19COPY --chown=user . $HOME/app20CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]