Skip to content

Commit

Permalink
Add TESLA_CLIENT_ID to docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Jan 24, 2024
1 parent b351ca0 commit 1848d0f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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' ;; \
Expand All @@ -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
Expand All @@ -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" ]

0 comments on commit 1848d0f

Please sign in to comment.