Hunt down social media accounts by username across social networks (Mirror repo)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
685 B

  1. FROM python:3.7-alpine as build
  2. WORKDIR /wheels
  3. RUN apk add --no-cache \
  4. g++ \
  5. gcc \
  6. git \
  7. libxml2 \
  8. libxml2-dev \
  9. libxslt-dev \
  10. linux-headers
  11. COPY requirements.txt /opt/sherlock/
  12. RUN pip3 wheel -r /opt/sherlock/requirements.txt
  13. FROM python:3.7-alpine
  14. WORKDIR /opt/sherlock
  15. ARG VCS_REF
  16. ARG VCS_URL="https://github.com/sherlock-project/sherlock"
  17. LABEL org.label-schema.vcs-ref=$VCS_REF \
  18. org.label-schema.vcs-url=$VCS_URL
  19. COPY --from=build /wheels /wheels
  20. COPY . /opt/sherlock/
  21. RUN pip3 install -r requirements.txt -f /wheels \
  22. && rm -rf /wheels \
  23. && rm -rf /root/.cache/pip/*
  24. WORKDIR /opt/sherlock/sherlock
  25. ENTRYPOINT ["python", "sherlock.py"]