Spaces:
Running
Running
Download Dockerfile from ssayed122/circuitglyph: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/ssayed122/circuitglyph/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ssayed122/circuitglyph/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ssayed122/circuitglyph/resolve/main/Dockerfile
400 Bytes
| FROM python:3.9 | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| COPY --chown=user ./requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY --chown=user . /app | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |