Spaces:
Sleeping
Sleeping
Download Dockerfile from Eurosmart/server-slave: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/Eurosmart/server-slave/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Eurosmart/server-slave/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Eurosmart/server-slave/resolve/main/Dockerfile
242 Bytes
| FROM python:3.9 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /server-slave | |
| COPY --chown=user . /server-slave | |
| RUN pip install -r /server-slave/requirements.txt | |
| EXPOSE 7000 | |
| CMD ["python", "api/app.py"] |