CoolFace
Apppublic

ghstedpixel/app.py

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
Dockerfile15 linesDownload Raw Back to root
1FROM python:3.11-slim2 3WORKDIR /code4 5COPY ./requirements.txt /code/requirements.txt6 7RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt8 9# Copy all the loose files from your root repo straight into the container10COPY . /code/11 12EXPOSE 786013 14# Direct Uvicorn to run main:app from the root directory context15CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]