Docker Compose files for my portfolio website.
- Clone the repository
- Login with Docker to the GitHub Packages Registry:
docker login docker.pkg.github.com
- Run
docker-compose up -d
When a new image for the app has been published, do the following in order to update and restart the app container:
- Rebuild the image:
docker-compose pull app
- Update and restart just the app:
docker-compose up --no-deps -d app
This can also be done in a single command as:
docker-compose pull app && docker-compose up --no-deps -d app