-
Notifications
You must be signed in to change notification settings - Fork 1
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
Thomas
committed
Sep 12, 2020
1 parent
ad8b8b6
commit a90a75a
Showing
3 changed files
with
19 additions
and
3 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,12 @@ | ||
FROM python:3.8-slim AS onetz | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
VOLUME /config | ||
VOLUME /newspaper | ||
|
||
RUN pip install --no-cache-dir requests beautifulsoup4 fake-useragent workalendar | ||
|
||
ADD newspaper.py / | ||
|
||
CMD [ "python", "./newspaper.py", "-c", "/config/newspaper.json" ] |
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