Spaces:
Sleeping
Sleeping
Download Dockerfile from Aobangaming/aithing: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/Aobangaming/aithing/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Aobangaming/aithing/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Aobangaming/aithing/resolve/main/Dockerfile
330 Bytes
| FROM python:3.10 | |
| # Set up a new user so we don't run as root | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:${PATH}" | |
| WORKDIR /app | |
| # Copy your files into the cloud | |
| COPY --chown=user . /app | |
| # Install the stuff | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Start the bridge | |
| CMD ["python", "app.py"] |