goodwill / Dockerfile
triflix's picture
Update Dockerfile
ee1e299 verified
raw
history blame contribute delete
236 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY . .
RUN pip install --upgrade pip && \
pip install fastapi uvicorn[standard] jinja2 requests python-multipart
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]