Update docker-compose file to run src.main as package.
src.main will be run as python package, but before as separated script.
This commit is contained in:
+2
-1
@@ -3,10 +3,11 @@ version: '3'
|
||||
services:
|
||||
bot:
|
||||
build: .
|
||||
container_name: dots_matrix_bot
|
||||
volumes:
|
||||
- '.:/code'
|
||||
- './crypto_store/:/code/crypto_store/'
|
||||
- './session.txt:/code/session.txt'
|
||||
command: 'python src/main.py'
|
||||
command: 'python -m src.main -c'
|
||||
env_file: '.env'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user