Mount source code as volume

This commit is contained in:
Alex Kotov 2023-01-08 17:23:16 +04:00
parent 87308db512
commit f78baf0f68
No known key found for this signature in database
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
__pycache__/
/.env /.env

View file

@ -4,3 +4,5 @@ services:
app: app:
build: . build: .
env_file: '.env' env_file: '.env'
volumes:
- './mirrortea:/app/mirrortea/'