refactor: reorganizar estructura del proyecto al estándar app/api_config
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good

- core/ → app/api_config/
- apps/backend_admin/ → app/backend_admin/
- apps/common/ → app/common/
- apps/promociones/ → app/promociones/
- manage.py → app/manage.py
- Añadir app/requirements.txt
- Actualizar todos los imports y referencias (DJANGO_SETTINGS_MODULE, ROOT_URLCONF, WSGI_APPLICATION, INSTALLED_APPS)
- Actualizar Dockerfile con nuevo WORKDIR

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
juanjo
2026-04-16 16:01:17 +02:00
parent 27ccce862d
commit 299428741b
28 changed files with 51 additions and 24 deletions

View File

@@ -22,14 +22,14 @@ COPY deployments/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 6. COPIAR EL CÓDIGO
# Copiamos todo el contenido de la raíz (.) al directorio de trabajo (/app)
# Esto incluirá apps/, core/, manage.py, etc.
COPY . .
# Cambiamos al directorio de la app donde está manage.py
WORKDIR /app/app
# 7. EXPOSICIÓN Y SCRIPT DE ENTRADA
EXPOSE 8000
# El entrypoint también está en deployments/
COPY deployments/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh