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:
@@ -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"]
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user