Update Dockerfile and docker-compose
This commit is contained in:
parent
8f60bc5f16
commit
1786cf8df0
@ -1,3 +1,6 @@
|
|||||||
BOT_API_KEY=
|
BOT_API_KEY=
|
||||||
NEWS_API_KEY=
|
NEWS_API_KEY=
|
||||||
SECRET_KEY=
|
SECRET_KEY=
|
||||||
|
|
||||||
|
BOT_EMAIL=
|
||||||
|
BOT_PASSWORD=
|
@ -30,11 +30,6 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ${PWD}/.env.bot
|
- ${PWD}/.env.bot
|
||||||
|
|
||||||
aktienbot_bot_updates:
|
|
||||||
image: registry.flokaiser.com/aktienbot/bot_updates
|
|
||||||
env_file:
|
|
||||||
- ${PWD}/.env.bot
|
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
volumes:
|
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
|
COPY telegram_bot /srv/flask_app
|
||||||
|
|
||||||
# Run the application
|
# 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