Skip to content

Commit

Permalink
dev: add run-container target
Browse files Browse the repository at this point in the history
Adds an easy way to run the container image locally, to aid in
debugging. Refs #73.
  • Loading branch information
conorsch committed Sep 25, 2024
1 parent b0466cf commit 0b44a6a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,14 @@ dev:

# build container image
container:
podman build -f Containerfile .
podman build -t penumbra-dex-explorer -f Containerfile .

# run container image
run-container: container
podman run -it \
-e PENUMBRA_GRPC_ENDPOINT \
-e PENUMBRA_INDEXER_ENDPOINT \
-e NEXT_PUBLIC_CHAIN_ID \
-e PENUMBRA_INDEXER_CA_CERT \
-p 3000:3000 \
penumbra-dex-explorer

0 comments on commit 0b44a6a

Please sign in to comment.