Skip to content

Commit

Permalink
fix: docker entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
amessbee committed Jul 23, 2024
1 parent 7e4a749 commit 954cfb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ WORKDIR /workspace
EXPOSE 26656
EXPOSE 26657
EXPOSE 1317
EXPOSE 5173


RUN "/workspaces/dapp-agoric-basics/entrypoint.sh"
# Set the entrypoint or command if necessary (adjust as needed)
ENTRYPOINT ["/workspaces/dapp-agoric-basics/entrypoint.sh"]

CMD ["/bin/bash"]
5 changes: 2 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
set -x

cp -r /usr/src/cache/node_modules /workspaces/dapp-agoric-basics/

/workspaces/dapp-agoric-basics/make_ports_public.sh 5173 1317 26657 26656
/workspaces/dapp-agoric-basics/make_ports_public.sh 5173 1317 26657 26656
exec /bin/bash

0 comments on commit 954cfb9

Please sign in to comment.