forked from janw/pi-hole-influx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
67 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.git | ||
.venv | ||
htmlcov | ||
tests | ||
.readme-assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
FROM python:3.6-alpine | ||
|
||
ARG BUILD_FROM=python:3.6-alpine | ||
FROM $BUILD_FROM | ||
LABEL maintainer="Jan Willhaus <[email protected]>" | ||
|
||
ENV PYTHONUNBUFFERED=1 | ||
WORKDIR /app | ||
|
||
COPY requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
RUN apk add --no-cache tini && \ | ||
pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY user.toml.example ./user.toml | ||
COPY default.toml ./ | ||
COPY piholeinflux.py ./ | ||
|
||
ENTRYPOINT [ "tini", "--" ] | ||
CMD [ "python", "./piholeinflux.py" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters