From 079f4e38069fbb8369051eb38f8369a2fd3b9959 Mon Sep 17 00:00:00 2001 From: mono Date: Mon, 30 Mar 2026 20:45:45 -0500 Subject: [PATCH] fix: copy application files directly into image root - Copy tienda_ilusion contents to /app/ instead of subdirectory - Remove volume mount from production docker-compose.yml - Allows deployment without repository dependency Refs #37 --- django.Dockerfile | 2 ++ docker-compose.yml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django.Dockerfile b/django.Dockerfile index 77a17dc..4e09ae0 100644 --- a/django.Dockerfile +++ b/django.Dockerfile @@ -5,4 +5,6 @@ WORKDIR /app/ COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt +COPY tienda_ilusion/ ./ + CMD ["python", "manage.py", "runserver", "0.0.0.0:9090"] diff --git a/docker-compose.yml b/docker-compose.yml index 91003b5..d36bc7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,6 @@ services: image: gitea.onecluster.org/oneteam/don_confiao_backend:latest env_file: - .env - volumes: - - ./tienda_ilusion:/app/ ports: - "7000:9090"