-
Build the app using the provided
Dockerfile:docker buildx build -t prevent . -f docker/Dockerfile -
Push the image to your container registry (e.g. GCR):
PREVENT_PATH=<your.artifact.registry> PREVENT_TAG=1.1 docker buildx build \ --platform linux/arm64/v8,linux/amd64 \ --push --pull \ -f Dockerfile \ -t $PREVENT_PATH:$PREVENT_TAG \ ../.
-
Run the container:
PREVENT_PATH=<your.artifact.registry> PREVENT_TAG=1.0 docker run --rm -it $PREVENT_PATH:$PREVENT_TAG
-
Access the container:
PREVENT_PATH=<your.artifact.registry> PREVENT_TAG=1.0 docker run --rm -it --entrypoint /bin/sh $PREVENT_PATH:$PREVENT_TAG