forgejo-cloudron-app/cloudron-app-build-instruct...

26 lines
399 B
Markdown
Raw Normal View History

# 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-21 22:38:38 +00:00
### Build the docker image
```
2024-03-21 22:38:38 +00:00
sudo docker build -t <username>/<repository>:<tag> .
```
2024-03-21 22:38:38 +00:00
### Push to Docker
```
2024-03-21 22:38:38 +00:00
sudo docker push <repository>:<tag>
```
2024-03-21 22:38:38 +00:00
### Install to Cloudron
```
2024-03-21 22:38:38 +00:00
cloudron install --image <username>/<repository>:<tag>
Location: <app.domain.tld>
```
2024-03-21 22:38:38 +00:00