Skip to content

Commit

Permalink
Update Dockerfile.standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
unl0ck authored Nov 4, 2024
1 parent 4822104 commit 06f114f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions GridboxConnectorAddon-edge/Dockerfile.standalone
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile
FROM python:3.10-alpine
FROM python:3.10-slim

# Build arguments
ARG BUILD_DATE
Expand All @@ -17,9 +17,13 @@ LABEL \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}

RUN apt-get update && \
apt-get install -y gcc g++ && \
rm -rf /var/lib/apt/lists/*

# Copy root filesystem
COPY GridboxConnectorAddon-edge/GridboxConnector/ /build/GridboxConnector

RUN cd /build/GridboxConnector && pip install -r requirements.txt

ENTRYPOINT ["python3", "/build/GridboxConnector"]
ENTRYPOINT ["python3", "/build/GridboxConnector"]

0 comments on commit 06f114f

Please sign in to comment.