mirror of
https://github.com/bellingcat/facebook-downloader.git
synced 2026-06-07 19:18:31 +03:00
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -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"]
|
||||
Reference in New Issue
Block a user