Update Dockerfile

This commit is contained in:
Administrator 2022-04-26 09:46:13 +02:00
parent 1786cf8df0
commit b4165ada6f
2 changed files with 4 additions and 3 deletions

View File

@ -10,5 +10,5 @@ RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-locati
# Copy the source code to the working directory # Copy the source code to the working directory
COPY telegram_bot /srv/flask_app COPY telegram_bot /srv/flask_app
# Run the application # Run the app
ENTRYPOINT ["/bin/sh", "-c", "'python bot.py && python bot_updates.py'"] CMD ["./deploy/start.sh"]

View File

@ -1,3 +1,4 @@
#!/usr/bin/env sh #!/usr/bin/env sh
python bot.py python bot.py &
python bot_updates.py