diff --git a/backend/Dockerfile b/backend/Dockerfile index addeade..8178129 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,6 +1,6 @@ #### BUILDER IMAGE -- quite big one #### FROM paritytech/ci-linux:production as builder -LABEL maintainer="Daniel Maricic daniel@woss.io" +LABEL maintainer="Parity Technologies" LABEL description="Polkadot Telemetry backend builder image" ARG PROFILE=release @@ -8,19 +8,19 @@ WORKDIR /app COPY . . -RUN cargo build --${PROFILE} --bins --target x86_64-unknown-linux-musl +RUN cargo build --${PROFILE} --bins # MAIN IMAGE FOR PEOPLE TO PULL --- small one# FROM scratch -LABEL maintainer="Daniel Maricic daniel@woss.io" +LABEL maintainer="Parity Technologies" LABEL description="Polkadot Telemetry backend, static build" ARG PROFILE=release WORKDIR /usr/local/bin COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -COPY --from=builder /app/target/x86_64-unknown-linux-musl/$PROFILE/telemetry /usr/local/bin +COPY --from=builder /app/target/$PROFILE/telemetry /usr/local/bin EXPOSE 8000