Skip to content

Commit

Permalink
Refactor Docker setup and fix start script in Dockerfile and start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
K-NRS committed Sep 13, 2024
1 parent 4b41123 commit 82bac93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ EXPOSE 9000
EXPOSE 44340
EXPOSE 44380

## Start script
## Start script
ENTRYPOINT ["/bin/bash"]

CMD ["-c", "./start.sh && exec /bin/bash"]
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ -n "$FORCE_TAG" ]; then \
echo 'force_tag: "${FORCE_TAG}"' >> $config
localnet update
fi
localnet start &>/dev/stdout & \
localnet start &! \
# wait a while
sleep 15
tail -f ~/suibase/workdirs/common/logs/suibase-daemon.log

0 comments on commit 82bac93

Please sign in to comment.