Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Commit abf7b11

Browse files
authored
Merge pull request #1548 from helium/jg/fix_docker_settings_concat
move gateway config concat to before release
2 parents c803839 + a6338cc commit abf7b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ ARG TAR_PATH=_build/$REBAR_BUILD_TARGET/rel/*/*.tar.gz
4747
# Now add our code
4848
COPY . .
4949

50+
RUN cat ./priv/gateway_rs/${BUILD_NET}.settings >> ./priv/gateway_rs/settings.toml
5051
RUN ./rebar3 as ${REBAR_BUILD_TARGET} tar -n miner -v ${VERSION}
5152

5253
RUN mkdir -p /opt/docker/update
5354
RUN tar -zxvf ${TAR_PATH} -C /opt/docker
5455
RUN wget -O /opt/docker/update/genesis https://snapshots.helium.wtf/genesis.${BUILD_NET}
55-
RUN cat ./priv/gateway_rs/${BUILD_NET}.settings >> ./priv/gateway_rs/settings.toml
5656

5757
FROM ${RUNNER_IMAGE} as runner
5858

0 commit comments

Comments
 (0)