Spaces:
Paused
Paused
Download Dockerfile from eagleswim/draft-docker: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/spaces/eagleswim/draft-docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/eagleswim/draft-docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/eagleswim/draft-docker/resolve/main/Dockerfile
555 Bytes
| FROM harshmanvar/vllm-cpu-only:v1 | |
| ENTRYPOINT [] | |
| WORKDIR /workspace | |
| ENV XDG_CACHE_HOME=/workspace/.cache | |
| ENV MPLCONFIGDIR=/workspace/.config/matplotlib | |
| ENV _USAGE_STATS_JSON_PATH=/workspace/.cache | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| RUN mkdir -p /workspace/.config/matplotlib /workspace/.cache && \ | |
| mkdir /.config && chmod -R 777 /.config && \ | |
| chmod -R 777 /workspace/.config /workspace/.cache | |
| RUN mkdir -p $MPLCONFIGDIR | |
| COPY app.py /workspace | |
| COPY requirements.txt /workspace | |
| RUN pip3 install -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["python3", "app.py"] |