Spaces:
Sleeping
Sleeping
Download Dockerfile from md-vasim/ExploreTextWithGemini: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/md-vasim/ExploreTextWithGemini/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/md-vasim/ExploreTextWithGemini/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/md-vasim/ExploreTextWithGemini/resolve/main/Dockerfile
318 Bytes
| FROM python:3.11-slim-buster | |
| WORKDIR /app | |
| COPY . /app | |
| # ENV HNSWLIB_NO_NATIVE=1 | |
| RUN pip install --no-cache-dir --upgrade -r 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 ["python", "app.py"] |