Spaces:
Runtime error
Runtime error
Download dockerfile from GopalGoyal/test: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/GopalGoyal/test/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/GopalGoyal/test/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/GopalGoyal/test/resolve/main/dockerfile
620 Bytes
| FROM python:3.8-slim-buster | |
| COPY . /app | |
| WORKDIR /app | |
| RUN apt-get update -q \ | |
| && apt-get install --no-install-recommends -qy python3-dev g++ gcc inetutils-ping \ | |
| && pip install --progress-bar off gunicorn \ | |
| && pip install --progress-bar off -r requirements.txt \ | |
| && apt-get remove -qy python3-dev g++ gcc --purge \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install -r requirements.txt | |
| RUN pip install --upgrade numpy scipy pandas | |
| EXPOSE 8501 | |
| HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health | |
| ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |
| CMD ["app.py"] |