New entrypoint
Some checks failed
Test and build / Test & lint (push) Successful in 1m8s
Test and build / Build (push) Failing after 1m7s

This commit is contained in:
2026-02-23 17:31:46 +01:00
parent 35101caacb
commit f831a0bdc3
3 changed files with 26 additions and 7 deletions

View File

@@ -1,8 +1,12 @@
FROM alpine:3
RUN apk add --no-cache dumb-init=1.2.5-r4
WORKDIR /app
ARG TARGETARCH
ARG TARGETVARIANT
COPY ./etc /etc/hamview
COPY ./build/hamview-receiver-${TARGETARCH}${TARGETVARIANT#v} /opt/hamview/bin/hamview-receiver
WORKDIR /opt/hamview
ENTRYPOINT ["bin/hamview-receiver"]
CMD [ "protocol" ]
COPY ./etc /app/config
COPY ./build/hamview-receiver-${TARGETARCH}${TARGETVARIANT#v} /app/hamview-receiver
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["dumb-init", "/entrypoint.sh"]