Test / Dockerfile
kasuuu's picture
Create Dockerfile
6837482 verified
Raw History Blame Contribute Delete
208 Bytes
FROM python:3.10
WORKDIR /code
COPY requirements.txt /code/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /code/
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]