Skip to content

Commit

Permalink
Fix Dockerfile and remove build step (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipliu authored Aug 20, 2024
1 parent 6799d85 commit 9c5c2ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/npm_and_docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 9c5c2ba

Please sign in to comment.