14 lines
523 B
Bash
Executable File
14 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker build --no-cache -t elliotathelsinki/foxgpt:latest .
|
|
docker push elliotathelsinki/foxgpt:latest
|
|
ssh -i /home/elliot/.ssh/id_rsa ubuntu@elliot-at-zuri.ch "
|
|
sudo docker pull elliotathelsinki/foxgpt:latest &&
|
|
sudo dokku apps:create foxgpt &&
|
|
sudo dokku domains:set foxgpt foxgpt-backend.elliot-at-zuri.ch &&
|
|
sudo dokku ports:set foxgpt http:80:4000 &&
|
|
sudo dokku letsencrypt:enable foxgpt &&
|
|
sudo dokku git:from-image foxgpt elliotathelsinki/foxgpt:latest &&
|
|
sudo dokku ps:rebuild foxgpt
|
|
"
|