Skip to content

Commit

Permalink
Update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
MedovTimur committed Dec 3, 2024
1 parent f733a88 commit 27ade47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ jobs:
- name: Run tests
run: cargo test -r --all -- --ignored

- name: Build for WASM
run: cargo build --release --target wasm32-unknown-unknown

- name: Collect artifacts
run: |
mkdir -p artifacts
cp target/wasm32-unknown-unknown/release/*.wasm artifacts/
cp target/wasm32-unknown-unknown/release/*.idl artifacts/
- name: Build Docker image
run: |
docker build -t ghcr.io/${{ github.repository_owner }}/wasm-artifacts:latest .
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM rust:1.83 as builder

RUN rustup target add wasm32-unknown-unknown

WORKDIR /usr/src/myapp

COPY . .
Expand Down

0 comments on commit 27ade47

Please sign in to comment.