forked from bellingcat/facebook-downloader
-
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
1 parent
a65a1f6
commit 37e028c
Showing
1 changed file
with
17 additions
and
0 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,17 @@ | ||
FROM python:latest | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
ca-certificates curl firefox-esr \ | ||
&& rm -fr /var/lib/apt/lists/* \ | ||
&& curl -L https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz | tar xz -C /usr/local/bin \ | ||
&& apt-get purge -y ca-certificates curl | ||
|
||
RUN python setup.py sdist bdist_wheel | ||
|
||
RUN pip install dist/*.whl | ||
|
||
ENTRYPOINT ["facebook_downloader"] |