Spaces:
Paused
Paused
Download Dockerfile from miyuki2026/OpenMiniMind: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/miyuki2026/OpenMiniMind/resolve/61ba079db070fdfd59dff306f78e320ca508b402/Dockerfile
- Command line
-
hf download hf://spaces/miyuki2026/OpenMiniMind@61ba079db070fdfd59dff306f78e320ca508b402/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/miyuki2026/OpenMiniMind/resolve/61ba079db070fdfd59dff306f78e320ca508b402/Dockerfile
322 Bytes
| FROM python:3.12 | |
| WORKDIR /code | |
| COPY . /code | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=user . $HOME/app | |
| CMD ["python3", "main.py"] | |