Add TESLA_CLIENT_ID to docker build
This commit is contained in:
parent
b351ca0642
commit
1848d0fd47
1 changed files with 4 additions and 2 deletions
|
|
@ -54,7 +54,6 @@ COPY --from=node /build/dist /build/dist
|
|||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
ARG TESLA_CLIENT_ID
|
||||
|
||||
RUN case "${TARGETVARIANT}" in \
|
||||
"armhf") export GOARM='6' ;; \
|
||||
|
|
@ -78,6 +77,9 @@ COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
|
|||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
COPY --from=builder /build/evcc /usr/local/bin/evcc
|
||||
|
||||
ARG TESLA_CLIENT_ID
|
||||
ENV TESLA_CLIENT_ID=${TESLA_CLIENT_ID}
|
||||
|
||||
COPY packaging/docker/bin/* /app/
|
||||
|
||||
# mDNS
|
||||
|
|
@ -94,4 +96,4 @@ EXPOSE 9522/udp
|
|||
HEALTHCHECK --interval=60s --start-period=60s --timeout=30s --retries=3 CMD [ "evcc", "health" ]
|
||||
|
||||
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
||||
CMD [ "evcc" ]
|
||||
CMD [ "evcc", "vehicle" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue