diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index da146d226a..0000000000 --- a/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# syntax=docker/dockerfile:experimental -FROM rust:1.48 as builder -RUN --mount=type=cache,target=/usr/local/cargo/registry \ - cargo install sccache -WORKDIR /usr/src/zksync -COPY . . -RUN --mount=type=cache,target=/usr/local/cargo/registry \ - --mount=type=cache,target=/root/.cache/sccache \ - RUSTC_WRAPPER=/usr/local/cargo/bin/sccache \ - cargo build --release - -FROM debian:buster-slim -RUN apt update -RUN apt install openssl -y -EXPOSE 9876 -ENV RUST_LOG info -COPY --from=builder /usr/src/zksync/target/release/dev-ticker-server /bin/ -ENTRYPOINT ["dev-ticker-server"] diff --git a/docker-compose-runner.yml b/docker-compose-runner.yml index c001b46540..eb7c0513ff 100644 --- a/docker-compose-runner.yml +++ b/docker-compose-runner.yml @@ -11,7 +11,7 @@ services: - PLUGIN_CONFIG dev-ticker: - build: . + image: "matterlabs/dev-ticker:latest" volumes: - ./etc/tokens/:/etc/tokens diff --git a/docker-compose.yml b/docker-compose.yml index 5e41c068a0..e560a21a04 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,7 @@ services: - ./etc/tokens/:/etc/tokens dev-ticker: - build: . + image: "matterlabs/dev-ticker:latest" ports: - "9876:9876" volumes: