forked from Waterboy1602/Addarr
-
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.
Concurrency, streamlined flow, multiple path support, etc. (Waterboy1…
…602#24) * Standardized logging; support for concurrent users (Waterboy1602#22); separate movie/series cmds; support for multiple rootFolders in Sonarr/Radarr; move app to /app in Docker; update README * Remove rootFolder from config
- Loading branch information
Showing
12 changed files
with
255 additions
and
106 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 |
---|---|---|
|
@@ -5,4 +5,4 @@ __pycache__/ | |
*.code-workspace | ||
*.log | ||
config.* | ||
|
||
logs/ |
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,12 @@ | ||
FROM python:3.8-alpine | ||
|
||
WORKDIR /usr/src | ||
WORKDIR /app | ||
# Install requirements | ||
RUN apk add --no-cache gcc musl-dev libffi-dev openssl-dev | ||
# Copy files to container | ||
COPY . /usr/src/addarr | ||
COPY . /app | ||
# Install ans build Addarr requirements, make symlink to redirect logs to stdout | ||
RUN cd addarr && \ | ||
pip install --no-cache-dir -r requirements.txt --upgrade && \ | ||
ln -s /dev/stdout /usr/src/telegramBot.log | ||
RUN pip install --no-cache-dir -r requirements.txt --upgrade | ||
|
||
ENTRYPOINT ["python"] | ||
CMD ["/usr/src/addarr/addarr.py"] | ||
CMD ["/app/addarr.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
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
Oops, something went wrong.