Skip to content

Commit

Permalink
fix: update Dockerfile to copy requirements.txt correctly and change …
Browse files Browse the repository at this point in the history
…license label
  • Loading branch information
sanderdw committed Jan 2, 2025
1 parent f77ca98 commit e05d3b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsmr_datalogger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ENV LANG=C.UTF-8
# Copy data for add-on
COPY config.json /app/ha_addon_version.json
COPY rootfs /
COPY requirements.txt /
RUN mkdir -p /etc/dsmr_logs
COPY requirements.txt /
RUN pip install --no-cache-dir -r requirements.txt

# Labels
Expand All @@ -19,4 +19,4 @@ LABEL \
org.opencontainers.image.title="Home Assistant Add-on: DSMR Datalogger" \
org.opencontainers.image.description="The datalogger only option of DSMR (https://dsmr-reader.readthedocs.io)" \
org.opencontainers.image.source="https://github.com/sanderdw/hassio-addons" \
org.opencontainers.image.licenses="Apache License 2.0"
org.opencontainers.image.licenses="Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)"

0 comments on commit e05d3b8

Please sign in to comment.