forked from val-lop20/Pagina-de-Asistencia-MAC
Corregir validación de eventos simultáneos y fix de login para estudiantes
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -26,7 +26,6 @@ services:
|
||||
dockerfile: docker/Dockerfile.backend.dev
|
||||
command: >
|
||||
sh -c "python manage.py migrate &&
|
||||
python init_db.py &&
|
||||
python manage.py collectstatic --noinput &&
|
||||
python manage.py runserver 0.0.0.0:8000"
|
||||
volumes:
|
||||
@@ -40,8 +39,8 @@ services:
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
expose:
|
||||
- "8000"
|
||||
ports:
|
||||
- "8000:8000" # Exponer puerto 8000 al host
|
||||
stdin_open: true # Para ipdb y debugging interactivo
|
||||
tty: true
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Dockerfile para Backend Django - Entorno de Desarrollo
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.11-slim-bookworm
|
||||
|
||||
# Variables de entorno para Python
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
|
||||
Reference in New Issue
Block a user