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:
2023-06-16 17:39:02 +03:00
parent bca8eece67
commit 29eeaccc30
+2 -1
View File
@@ -3,10 +3,11 @@ version: '3'
services: services:
bot: bot:
build: . build: .
container_name: dots_matrix_bot
volumes: volumes:
- '.:/code' - '.:/code'
- './crypto_store/:/code/crypto_store/' - './crypto_store/:/code/crypto_store/'
- './session.txt:/code/session.txt' - './session.txt:/code/session.txt'
command: 'python src/main.py' command: 'python -m src.main -c'
env_file: '.env' env_file: '.env'