feat: add start script to pull latest git repository and run Flask application in Docker container
This commit is contained in:
parent
cf6a303e56
commit
6755f1ddf9
@ -7,3 +7,4 @@ services:
|
||||
- "3004:3004"
|
||||
volumes:
|
||||
- /home/manuel/docker/MikaApp/instance:/usr/src/app/instance
|
||||
command: ["./start.sh"]
|
||||
|
7
start.sh
Normal file
7
start.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Pull the latest changes from the repository
|
||||
git pull https://gitlab.fire-devils.org/ManuelW/MikaList.git
|
||||
|
||||
# Start the Flask application
|
||||
flask run --host=0.0.0.0 --port=3004
|
Loading…
x
Reference in New Issue
Block a user