CoolFace
Apppublic

aphilippov/python-server-api

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes
Dockerfile17 linesDownload Raw Back to root
1FROM python:3.10-slim AS base2 3WORKDIR /app4 5RUN apt-get update && apt-get install -y \6    build-essential \7    curl \8    software-properties-common \9    git \10    bash \11    && rm -rf /var/lib/apt/lists/*12 13COPY . /app14 15RUN pip3 install -r requirements.txt16 17CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]