ThreadNode / Dockerfile
abdurrehmansaeed's picture
Upload 11 files
4031985 verified
Raw History Blame Contribute Delete
229 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
WORKDIR /app/api
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]