Skip to content

Commit 5c1b7f0

Browse files
committed
Update .gitignore to exclude migration files and modify docker-compose to set command for Django service
1 parent f857545 commit 5c1b7f0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.py[c|o]
33
.venv/
44
.env
5+
*/migrations/
56
*/__pycache__
67
telegram bot/
78
nginx/

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
build:
1212
context: .
1313
dockerfile: ./compose/production/django/Dockerfile
14-
14+
command: /start
1515
volumes:
1616
- production_django_media:/app/media
1717
- production_django_static:/app/staticfiles

0 commit comments

Comments
 (0)