Spaces:
Build error
Build error
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.text | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN useradd teja | |
| USER teja | |
| ENV HOME=/home/teja \ | |
| PATH=/home/teja/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=user . $HOME/app | |
| CMD ["uvicorn","app:app","--host","0.0.0.0","--port","7860"] |