Update Dockerfile
This commit is contained in:
parent
1786cf8df0
commit
b4165ada6f
@ -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"]
|
@ -1,3 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
python bot.py
|
python bot.py &
|
||||||
|
python bot_updates.py
|
Loading…
Reference in New Issue
Block a user