CoolFace
Apppublic

AgentA123/project-helios-api

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
Dockerfile22 linesDownload Raw Back to root
1FROM python:3.11-slim2 3ENV PYTHONDONTWRITEBYTECODE=1 \4    PYTHONUNBUFFERED=1 \5    PORT=78606 7WORKDIR /app8 9RUN apt-get update \10    && apt-get install -y --no-install-recommends ca-certificates \11    && rm -rf /var/lib/apt/lists/*12 13COPY requirements.txt .14RUN pip install --no-cache-dir --upgrade pip \15    && pip install --no-cache-dir -r requirements.txt16 17COPY . .18 19EXPOSE 786020 21CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860}"]22