se dockerizó el proyecto
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
# Imagen base ligera con Python 3.11
|
||||
FROM python:3.11-slim
|
||||
|
||||
# Establecer el directorio de trabajo
|
||||
WORKDIR /app
|
||||
|
||||
# Copiar archivos necesarios
|
||||
COPY requirements.txt .
|
||||
COPY qa_fenix.jsonl .
|
||||
COPY chat_semantic_fenix_score.py .
|
||||
|
||||
# Instalar dependencias
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Exponer el puerto de FastAPI
|
||||
EXPOSE 8000
|
||||
|
||||
# Comando para iniciar el servidor
|
||||
CMD ["uvicorn", "chat_semantic_fenix_score:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Reference in New Issue
Block a user