Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.18 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.18 KB

Service 404 - Fallback

Chart

The deployment chart for this project can be found in the charts repository.

Development Image Builds

# 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

Local Docker Testing

# 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