Compare commits
2 Commits
1d7beadf96
...
feature/37
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
079f4e3806 | ||
|
|
6473a8348c |
17
.dockerignore
Normal file
17
.dockerignore
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
*.so
|
||||||
|
.Python
|
||||||
|
*.db
|
||||||
|
*.sqlite3
|
||||||
|
.env
|
||||||
|
.venv
|
||||||
|
venv/
|
||||||
|
ENV/
|
||||||
|
.git/
|
||||||
|
*.egg-info/
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
.coverage
|
||||||
|
htmlcov/
|
||||||
@@ -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"]
|
||||||
|
|||||||
11
docker-compose.override.yml
Normal file
11
docker-compose.override.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
services:
|
||||||
|
django:
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: django.Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ./tienda_ilusion:/app/
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
ports:
|
||||||
|
- "7000:9090"
|
||||||
@@ -1,12 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
django:
|
django:
|
||||||
build:
|
image: gitea.onecluster.org/oneteam/don_confiao_backend:latest
|
||||||
context: ./
|
|
||||||
dockerfile: django.Dockerfile
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
|
||||||
- ./tienda_ilusion:/app/
|
|
||||||
ports:
|
ports:
|
||||||
- "7000:9090"
|
- "7000:9090"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user