Update Dockerfile and docker-compose
This commit is contained in:
parent
8f60bc5f16
commit
1786cf8df0
@ -1,3 +1,6 @@
|
||||
BOT_API_KEY=
|
||||
NEWS_API_KEY=
|
||||
SECRET_KEY=
|
||||
|
||||
BOT_EMAIL=
|
||||
BOT_PASSWORD=
|
@ -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:
|
||||
|
@ -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'"]
|
||||
|
Loading…
Reference in New Issue
Block a user