From 0a1736009340c276d53572774956dd2c17007340 Mon Sep 17 00:00:00 2001 From: Miroslav Kovar Date: Fri, 12 May 2023 17:00:36 +0200 Subject: [PATCH] Adjust dockerfile Signed-off-by: Miroslav Kovar --- .github/actions/setup-testing-rust/action.yml | 2 +- ci/vdrproxy.dockerfile | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-testing-rust/action.yml b/.github/actions/setup-testing-rust/action.yml index 5952e0236b..01e7a5e7b3 100644 --- a/.github/actions/setup-testing-rust/action.yml +++ b/.github/actions/setup-testing-rust/action.yml @@ -35,4 +35,4 @@ runs: if: ${{ inputs.skip-vdrproxy-setup != 'true' }} shell: bash run: | - docker run --rm -d --name vdrproxy --network host -e GENESIS=${{ env.GENESIS_URL }} -e PORT=${{ env.VDR_PROXY_PORT }} ${{ env.DOCKER_IMAGE_VDRPROXY }} + docker run --rm -d --name vdrproxy --network host ${{ env.DOCKER_IMAGE_VDRPROXY }} -p ${{ env.VDR_PROXY_PORT }} -g ${{ env.GENESIS_URL }} diff --git a/ci/vdrproxy.dockerfile b/ci/vdrproxy.dockerfile index c7c13f7f66..24e2234d82 100644 --- a/ci/vdrproxy.dockerfile +++ b/ci/vdrproxy.dockerfile @@ -17,8 +17,5 @@ RUN apk update && apk upgrade && \ libstdc++ \ libgcc -ENV PORT 3030 -ENV GENESIS genesis.txn - COPY --from=builder /home/indy/indy-vdr/target/release/indy-vdr-proxy indy-vdr-proxy -ENTRYPOINT ./indy-vdr-proxy -p ${PORT} -g ${GENESIS} +ENTRYPOINT ["./indy-vdr-proxy"]