Spaces:
Sleeping
Sleeping
| #sike | |
| FROM ubuntu:22.04 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| # install app dependencies | |
| RUN apt-get update && apt-get install -y python3 python3-pip | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # install app | |
| COPY . . | |
| EXPOSE 7860 | |
| # final configuration | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |