2024-03-22 15:32:54 +00:00
|
|
|
# Instructions to build/install custom cloudron application
|
|
|
|
|
|
|
|
|
|
### Log in to Docker
|
|
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
sudo docker login
|
|
|
|
|
<username>
|
|
|
|
|
<password>
|
2024-03-22 15:32:54 +00:00
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
|
2024-03-22 15:32:54 +00:00
|
|
|
### Build the docker image
|
|
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
sudo docker build -t <username>/<repository>:<tag> .
|
2024-03-22 15:32:54 +00:00
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
|
2024-03-22 15:32:54 +00:00
|
|
|
### Push to Docker
|
|
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
sudo docker push <repository>:<tag>
|
2024-03-22 15:32:54 +00:00
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
|
2024-03-22 15:32:54 +00:00
|
|
|
### Install to Cloudron
|
|
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
cloudron install --image <username>/<repository>:<tag>
|
2024-03-22 15:32:54 +00:00
|
|
|
Location: <app.domain.tld>
|
|
|
|
|
```
|
2024-03-21 22:38:38 +00:00
|
|
|
|