-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile to use the alpine Python 3 base image
- Loading branch information
Showing
3 changed files
with
57 additions
and
8 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 |
---|---|---|
@@ -1 +1,15 @@ | ||
.env | ||
.dockerignore | ||
.env | ||
.env.sample | ||
.git | ||
.github | ||
.gitignore | ||
.idea | ||
.vscode | ||
|
||
Dockerfile* | ||
README.md | ||
|
||
test | ||
|
||
venv |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM python:3-slim | ||
|
||
ENV DRYRUN 'True' | ||
ENV DEBUG 'True' | ||
ENV DEBUG_LEVEL 'INFO' | ||
ENV SLEEP_DURATION '3600' | ||
ENV LOGFILE 'log.log' | ||
|
||
ENV USER_MAPPING '' | ||
ENV LIBRARY_MAPPING '' | ||
|
||
ENV PLEX_BASEURL '' | ||
ENV PLEX_TOKEN '' | ||
ENV PLEX_USERNAME '' | ||
ENV PLEX_PASSWORD '' | ||
ENV PLEX_SERVERNAME '' | ||
|
||
ENV JELLYFIN_BASEURL '' | ||
ENV JELLYFIN_TOKEN '' | ||
|
||
ENV SYNC_FROM_PLEX_TO_JELLYFIN 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_PLEX 'True' | ||
ENV SYNC_FROM_PLEX_TO_PLEX 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_JELLYFIN 'True' | ||
|
||
ENV BLACKLIST_LIBRARY '' | ||
ENV WHITELIST_LIBRARY '' | ||
ENV BLACKLIST_LIBRARY_TYPE '' | ||
ENV WHITELIST_LIBRARY_TYPE '' | ||
ENV BLACKLIST_USERS '' | ||
ENV WHITELIST_USERS '' | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["python", "-u", "main.py"] |