updated README
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.env
|
||||
10
README.md
10
README.md
@ -4,11 +4,13 @@ My Portfolio Website
|
||||
# Deploy
|
||||
|
||||
This website is packaged as a container and deployed using nginx.
|
||||
```
|
||||
|
||||
```bash
|
||||
source .env
|
||||
docker build -t my-portfolio-app .
|
||||
docker tag my-portfolio-app:latest registry.tahmidcloud.com/my-portfolio-app:latest
|
||||
docker push registry.tahmidcloud.com/my-portfolio-app:latest
|
||||
docker tag my-portfolio-app:latest ${DOCKER_REGISTRY}/my-portfolio-app:latest
|
||||
docker push ${DOCKER_REGISTRY}/my-portfolio-app:latest
|
||||
|
||||
# Check the registry
|
||||
curl -u user:pass https://registry.tahmidcloud.com/v2/_catalog
|
||||
curl -u user:pass https://${DOCKER_REGISTRY}/v2/_catalog
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user