CoolFace
Apppublic

ssmar97/supplier-verification-api

sourceHugging Facemitupdated 2mo agoView on Hugging Face
0likes
Dockerfile13 linesDownload Raw Back to root
1FROM python:3.12-slim2 3WORKDIR /app4 5COPY requirements.txt .6RUN pip install --no-cache-dir -r requirements.txt7 8COPY main.py .9 10# Hugging Face Spaces routes public traffic to port 7860. Other hosts (Render,11# Railway, Fly) set a PORT environment variable instead, so honour that if present.12EXPOSE 786013CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860}"]