yealink-bridge/ldap-auth-server/Dockerfile
2025-02-19 19:31:51 +01:00

16 lines
380 B
Docker

# # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile
ARG BUILD_FROM
FROM $BUILD_FROM AS build
COPY . /build
WORKDIR /build
# Execute during the build of the image
RUN apk add --no-cache go && go build
FROM $BUILD_FROM
COPY --from=build /build/ldap-auth-server /usr/bin
CMD ["/usr/bin/ldap-auth-server", "/data/options.json"]