Spaces:
Build error
Build error
Download Dockerfile from Teja990/text2textwithdocker: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/Teja990/text2textwithdocker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Teja990/text2textwithdocker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Teja990/text2textwithdocker/resolve/main/Dockerfile
367 Bytes
| 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"] |