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
This commit is contained in:
mono
2026-03-30 20:45:45 -05:00
parent 6473a8348c
commit 079f4e3806
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,6 @@ WORKDIR /app/
COPY requirements.txt ./ COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY tienda_ilusion/ ./
CMD ["python", "manage.py", "runserver", "0.0.0.0:9090"] CMD ["python", "manage.py", "runserver", "0.0.0.0:9090"]

View File

@@ -3,8 +3,6 @@ services:
image: gitea.onecluster.org/oneteam/don_confiao_backend:latest image: gitea.onecluster.org/oneteam/don_confiao_backend:latest
env_file: env_file:
- .env - .env
volumes:
- ./tienda_ilusion:/app/
ports: ports:
- "7000:9090" - "7000:9090"