File size: 248 Bytes
247d94e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
FROM python:3.8
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt
EXPOSE 7860
ENV PYTHONUNBUFFERED 1
COPY app /app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]  # works but limited