File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 source tags
4141 export IMAGE_TAG=${{ steps.vars.outputs.sha_short }}
4242 cd docker-compose
43- docker stack rm the-stack
44- sleep 20s
45- sudo systemctl stop nginx
43+ docker pull cornellappdev/uplift-dev:$IMAGE_TAG
44+ # temporary container to run migrations
45+ docker run --rm --env-file uplift.env cornellappdev/uplift-dev:$IMAGE_TAG flask --app migrations db upgrade
4646 sudo systemctl restart nginx
4747 docker stack deploy -c docker-compose.yml the-stack --with-registry-auth
48- sleep 60s
49- yes | docker system prune -a
Original file line number Diff line number Diff line change 66ENV MAX_CONCURRENT_PIP=4
77RUN pip3 install --upgrade pip
88RUN pip3 install --exists-action w -r requirements.txt
9- CMD flask --app migrations db upgrade && python3 app.py
9+ CMD python3 app.py
You can’t perform that action at this time.
0 commit comments