Torsten Simon 2 éve
szülő
commit
6203f02c29
2 módosított fájl, 7 hozzáadás és 3 törlés
  1. 3 2
      Dockerfile
  2. 4 1
      src/requirements.txt

+ 3 - 2
Dockerfile

@@ -10,7 +10,8 @@ RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for
 RUN chmod +x wait-for-it.sh
 COPY src/requirements.txt . 
 RUN export READTHEDOCS=True
-RUN pip3 install -r requirements.txt
+RUN pip3 install --upgrade pip
+RUN pip3 install -r requirements.txt --default-timeout=100
 COPY src/ .
 RUN chmod +x entrypoint.sh
-CMD [ "./entrypoint.sh"]
+CMD [ "./entrypoint.sh"]

+ 4 - 1
src/requirements.txt

@@ -1,8 +1,11 @@
 #influxdb-client # this is for 2.x
 influxdb
 rpi-rf
+setuptools
+wheel
 opencv-python==4.5.3.56
+#opencv-python==3.4.13.47
 pillow
 pytesseract
 imutils
-picamera
+picamera