Explorar o código

added missing dependency protego

Fabian Peter Hammerle %!s(int64=5) %!d(string=hai) anos
pai
achega
edbf268edc
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Dockerfile

+ 4 - 0
Dockerfile

@@ -7,5 +7,9 @@ RUN apk add --no-cache --repository $SCRAPY_PACKAGE_REPOSITORY \
     && adduser -S spider
 
 USER spider
+# > pkg_resources.DistributionNotFound: The 'protego>=0.1.15' distribution was not found and is required by Scrapy
+ARG PROTEGO_VERSION=0.1.16
+RUN pip3 install --user protego==$PROTEGO_VERSION
+
 COPY ./ping.py /ping.py
 ENTRYPOINT ["scrapy", "runspider", "/ping.py"]