Download dockerfile from hugging2021/bert-base-uncased: direct link, hf CLI and curl.
- Browser
- Download file 324 Bytes
-
https://huggingface.co/spaces/hugging2021/bert-base-uncased/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/hugging2021/bert-base-uncased/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/hugging2021/bert-base-uncased/resolve/main/dockerfile
324 Bytes
| # Verwende das Basisimage von Hugging Face | |
| FROM transformers/gpu-transformers:4.12.0-gpu | |
| # Setze das Arbeitsverzeichnis | |
| WORKDIR /app | |
| # Installiere zusätzliche Abhängigkeiten | |
| RUN pip install gradio | |
| # Kopiere die App-Dateien in das Arbeitsverzeichnis | |
| COPY . . | |
| # Befehl zum Starten der Anwendung | |
| CMD ["python", "app.py"] | |