Spaces:
Runtime error
Runtime error
Download transformers/docker/transformers-tensorflow-cpu/Dockerfile from chendl/compositional_test: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/spaces/chendl/compositional_test/resolve/main/transformers/docker/transformers-tensorflow-cpu/Dockerfile
- Command line
-
hf download hf://spaces/chendl/compositional_test/transformers/docker/transformers-tensorflow-cpu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chendl/compositional_test/resolve/main/transformers/docker/transformers-tensorflow-cpu/Dockerfile
614 Bytes
| FROM ubuntu:18.04 | |
| LABEL maintainer="Hugging Face" | |
| LABEL repository="transformers" | |
| RUN apt update && \ | |
| apt install -y bash \ | |
| build-essential \ | |
| git \ | |
| curl \ | |
| ca-certificates \ | |
| python3 \ | |
| python3-pip && \ | |
| rm -rf /var/lib/apt/lists | |
| RUN python3 -m pip install --no-cache-dir --upgrade pip && \ | |
| python3 -m pip install --no-cache-dir \ | |
| mkl \ | |
| tensorflow-cpu | |
| WORKDIR /workspace | |
| COPY . transformers/ | |
| RUN cd transformers/ && \ | |
| python3 -m pip install --no-cache-dir . | |
| CMD ["/bin/bash"] | |