diff --git a/.github/workflows/npm_and_docker_publish.yml b/.github/workflows/npm_and_docker_publish.yml index 52b81c9..9343609 100644 --- a/.github/workflows/npm_and_docker_publish.yml +++ b/.github/workflows/npm_and_docker_publish.yml @@ -34,9 +34,6 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Install Latest npm Package - run: yarn add @stellar/anchor-tests@latest -W - - name: Build and push Docker images uses: docker/build-push-action@v4.0.0 with: diff --git a/Dockerfile b/Dockerfile index 8746a6c..f706f51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ RUN npm install -g typescript && \ WORKDIR /code COPY . . -RUN npm install -g @stellar/anchor-tests +RUN yarn install +RUN yarn build:anchor-tests -ENTRYPOINT ["stellar-anchor-tests"] +ENTRYPOINT ["yarn", "stellar-anchor-tests"]