Skip to content

Commit

Permalink
Refactor Docker setup and start localnet in Dockerfile and start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
K-NRS committed Sep 12, 2024
1 parent 25ebf78 commit b1819c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ RUN if [ -n "$FORCE_TAG" ]; then \
localnet update; \
fi

RUN localnet start && localnet stop

# Expose ports
EXPOSE 9000
EXPOSE 44340
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
localnet start &! && \
localnet start &! \
tail -f ~/suibase/workdirs/common/logs/suibase-daemon.log

0 comments on commit b1819c9

Please sign in to comment.