diff --git a/docker/aries-engine-dockerfile b/docker/aries-engine-dockerfile index 2d14d8c52..c7d0e1619 100644 --- a/docker/aries-engine-dockerfile +++ b/docker/aries-engine-dockerfile @@ -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 \ diff --git a/docker/start-aries.sh b/docker/start-aries.sh old mode 100644 new mode 100755 index 389cb5553..f197878fe --- a/docker/start-aries.sh +++ b/docker/start-aries.sh @@ -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 \ No newline at end of file