The deployment chart for this project can be found in the charts repository.
# Get the sha of the latest commit you want to build from.
git log --oneline
# Then run the build. Uses multi-stage build, the access token wont be in the final image.
docker build -t ghcr.io/flashflashrevolution/service-404-fallback:sha-shavalue .
# Push the built image.
docker push ghcr.io/flashflashrevolution/service-404-fallback:sha-shavalue
# Here is an example of a functional sequence.
# NPM_TOKEN=averyvalidtokenstring
# docker build -t ghcr.io/flashflashrevolution/service-404-fallback:sha-cbcc9cd .
# docker push ghcr.io/flashflashrevolution/service-404-fallback:sha-cbcc9cd
# Build the image
docker build -t ghcr.io/flashflashrevolution/service-404-fallback:dev .
# Run the image
docker container run -p 8080:80 ghcr.io/flashflashrevolution/service-404-fallback:dev