From 507e17a66901f6e08ac5cad413e2bb15075d67cb Mon Sep 17 00:00:00 2001 From: Jennifer Echenim Date: Thu, 23 Nov 2023 20:59:38 +0400 Subject: [PATCH] update `dns-name-label` and instance `name` - rm manual http-server installation --- .github/workflows/manual-deploy-obscuro-scan-3.yml | 4 ++-- tools/obscuroscan_v3/frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual-deploy-obscuro-scan-3.yml b/.github/workflows/manual-deploy-obscuro-scan-3.yml index ac64b1aa51..c013660b6d 100644 --- a/.github/workflows/manual-deploy-obscuro-scan-3.yml +++ b/.github/workflows/manual-deploy-obscuro-scan-3.yml @@ -73,9 +73,9 @@ jobs: uses: "azure/aci-deploy@v1" with: resource-group: ${{ secrets.RESOURCE_GROUP }} - dns-name-label: ${{ github.event.inputs.testnet_type }}-api-obscuro-scan + dns-name-label: ${{ github.event.inputs.testnet_type }}-api-obscuro-scan-v3 image: ${{ vars.DOCKER_BUILD_TAG_SCAN_API }} - name: ${{ github.event.inputs.testnet_type }}-api-obscuro-scan + name: ${{ github.event.inputs.testnet_type }}-api-obscuro-scan-v3 location: "uksouth" restart-policy: "Never" command-line: ./cmd/backend --nodeHostAddress http://${{ vars.L2_RPC_URL_VALIDATOR }}:80 --serverAddress 0.0.0.0:80 diff --git a/tools/obscuroscan_v3/frontend/Dockerfile b/tools/obscuroscan_v3/frontend/Dockerfile index 984a871198..9f69ba44f0 100644 --- a/tools/obscuroscan_v3/frontend/Dockerfile +++ b/tools/obscuroscan_v3/frontend/Dockerfile @@ -4,6 +4,6 @@ RUN mkdir -p /home/obscuro/go-obscuro/tools/obscuroscan_v3/ COPY ./tools/obscuroscan_v3/frontend /home/obscuro/go-obscuro/tools/obscuroscan_v3/frontend WORKDIR /home/obscuro/go-obscuro/tools/obscuroscan_v3/frontend -RUN npm install && npm install http-server -g +RUN npm install EXPOSE 80 \ No newline at end of file