Try to fix Dockerfiles

This commit is contained in:
Administrator 2022-04-25 17:15:07 +02:00
parent b68546b0e7
commit 6d8fb278fe
2 changed files with 2 additions and 2 deletions

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 COPY telegram_bot /srv/flask_app
# Run the application # Run the application
CMD ["/usr/local/bin/python bot.py"] CMD ["/usr/local/bin/python", "bot.py"]

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 COPY telegram_bot /srv/flask_app
# Run the application # Run the application
CMD ["/usr/local/bin/python bot_updates.py"] CMD ["/usr/local/bin/python", "bot_updates.py"]