Skip to content

Commit

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

RUN localnet start && localnet stop
# RUN localnet start && localnet stop

# Expose ports
EXPOSE 9000
Expand Down
1 change: 1 addition & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
if [ -n "$FORCE_TAG" ]; then \
export config=${HOME}/suibase/workdirs/localnet/suibase.yaml \
echo '' >> ${config}; \
echo 'force_tag: "${FORCE_TAG}" >> ${config};'; \
localnet update; \
Expand Down

0 comments on commit ee12257

Please sign in to comment.