Update docker-compose file to run src.main as package.

src.main will be run as python package, but before as separated
script.
main
KKlochko 2 years ago
parent bca8eece67
commit 29eeaccc30

@ -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'

Loading…
Cancel
Save