Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Imagen base oficial de Hugging Face Text Generation Inference
|
| 2 |
+
FROM ghcr.io/huggingface/text-generation-inference:latest
|
| 3 |
+
|
| 4 |
+
# Creamos un volumen para caché de Hugging Face
|
| 5 |
+
VOLUME ["/root/.cache/huggingface"]
|
| 6 |
+
|
| 7 |
+
# Exponemos el puerto que queremos mapear
|
| 8 |
+
EXPOSE 80
|
| 9 |
+
|
| 10 |
+
# Comando por defecto al iniciar el contenedor
|
| 11 |
+
CMD ["--model-id", "cyrah-ai/multi-dataset-model"]
|