mirror of
https://github.com/pcvolkmer/mv64e-rest-to-kafka-gateway
synced 2025-09-13 09:12:51 +00:00
chore: update project name
The new name should reflect the intention of this project.
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM rust:alpine AS back-stage
|
||||
FROM rust:alpine AS build-stage
|
||||
|
||||
RUN apk update
|
||||
RUN apk add cmake make musl-dev g++ perl
|
||||
@@ -13,11 +13,11 @@ RUN cargo build --release
|
||||
|
||||
# Build image from scratch
|
||||
FROM scratch
|
||||
LABEL org.opencontainers.image.source="https://github.com/pcvolkmer/dnpm-kafka-rest-proxy"
|
||||
LABEL org.opencontainers.image.source="https://github.com/pcvolkmer/mv64e-rest-to-kafka-gateway"
|
||||
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"
|
||||
LABEL org.opencontainers.image.description="DNPM MTB REST Proxy für Kafka"
|
||||
LABEL org.opencontainers.image.description="Send MV64e HTTP requests with DNPM V2.1 payload to a Kafka broker"
|
||||
|
||||
COPY --from=back-stage /build/target/release/dnpm-kafka-rest-proxy .
|
||||
COPY --from=build-stage /build/target/release/mv64e-rest-to-kafka-gateway .
|
||||
USER 65532
|
||||
EXPOSE 3000
|
||||
CMD ["./dnpm-kafka-rest-proxy"]
|
||||
CMD ["./mv64e-rest-to-kafka-gateway"]
|
||||
|
Reference in New Issue
Block a user