Spaces:
Sleeping
Sleeping
Download Dockerfile from smartjaac/backoffice: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/smartjaac/backoffice/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/smartjaac/backoffice/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/smartjaac/backoffice/resolve/main/Dockerfile
346 Bytes
| FROM python:3.11.3 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| RUN ln -snf /usr/share/zoneinfo/America/Lima /etc/localtime && echo America/Lima > /etc/timezone | |
| RUN chmod -R ugo+rw /code | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |