diff --git a/docker-compose.yml b/docker-compose.yml index 6465ee5..7708c76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,3 +7,4 @@ services: - "3004:3004" volumes: - /home/manuel/docker/MikaApp/instance:/usr/src/app/instance + command: ["./start.sh"] diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..996e828 --- /dev/null +++ b/start.sh @@ -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