Update Dockerfile and docker-compose

This commit is contained in:
Administrator 2022-04-26 09:19:46 +02:00
parent 8f60bc5f16
commit 1786cf8df0
3 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,6 @@
BOT_API_KEY=
NEWS_API_KEY=
SECRET_KEY=
BOT_EMAIL=
BOT_PASSWORD=

View File

@ -30,11 +30,6 @@ services:
env_file:
- ${PWD}/.env.bot
aktienbot_bot_updates:
image: registry.flokaiser.com/aktienbot/bot_updates
env_file:
- ${PWD}/.env.bot
mariadb:
image: mariadb
volumes:

View File

@ -11,4 +11,4 @@ RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-locati
COPY telegram_bot /srv/flask_app
# Run the application
ENTRYPOINT ["/bin/sh", "-c", "python bot.py && python bot_updates.py"]
ENTRYPOINT ["/bin/sh", "-c", "'python bot.py && python bot_updates.py'"]