Skip to content

Commit

Permalink
[CI] fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
akru committed Mar 13, 2021
1 parent e523f37 commit 3996f40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dockerpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
submodules: true
- name: Check targets are installed correctly
run: rustup target list --installed
- name: Install build tools
run: cargo install --git https://github.com/alexcrichton/wasm-gc --force
- name: Build optimized binary
run: cargo build --release --verbose --target-dir third-party/docker/target-debian
- name: Get the version
Expand Down
6 changes: 3 additions & 3 deletions third-party/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ RUN apt-get update && \

# add plasm-node binary to docker image
WORKDIR /opt
COPY ./target-debian/release/plasm-node /opt/plasm-node
COPY ./target-debian/release/plasm /opt/plasm

USER plasm

# check if executable works in this container
RUN /opt/plasm-node --version
RUN /opt/plasm --version

VOLUME ["/data"]

EXPOSE 30333 9933 9944

ENTRYPOINT ["/opt/plasm-node"]
ENTRYPOINT ["/opt/plasm"]

0 comments on commit 3996f40

Please sign in to comment.