Plantilla inicial del taller
publicar / publicar (push) Failing after 6s

This commit is contained in:
taller committed 2026-11-22 18:51:27 +00:00
1 parent 37fd1f4f18
commit 4f7d614892
22 files changed
+1157

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Se construye desde la RAÍZ del repo (el CI hace: docker build -f api/Dockerfile .)
FROM python:3.12-slim
WORKDIR /app
COPY api/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY api/ .
COPY alumnos.csv .
ENV DB_PATH=/data/votos.db CENSO_PATH=/app/alumnos.csv
RUN mkdir -p /data
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "-w", "2", "--threads", "4", "app:app"]