Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update aries dockerFile #559

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docker/aries-engine-dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ ENV PATH=/root/.cargo/bin:$PATH
COPY . .

# build
RUN cargo clean
RUN git submodule deinit --all -f
RUN git submodule update --init --recursive
RUN if [ "$BUILD_TYPE" = "release" ]; then \
cargo build -p aries --release; \
else \
Expand Down
4 changes: 2 additions & 2 deletions docker/start-aries.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CONFIG_FILE="$MEGA_BASE_DIR/etc/config.toml"

if [ -f "$CONFIG_FILE" ]; then
echo "Using config file: $CONFIG_FILE"
exec /usr/local/bin/aries -c "$CONFIG_FILE"
exec /usr/local/bin/aries -c "$CONFIG_FILE" --host 0.0.0.0 --hub-host gitmono.org
else
exec /usr/local/bin/aries
exec /usr/local/bin/aries --host 0.0.0.0 --hub-host gitmono.org
fi
Loading