From 2e5fd056cf2b2bfe5722cf02ad27914ae9d5a13b Mon Sep 17 00:00:00 2001 From: Labintsev A I <33553428+balezz@users.noreply.github.com> Date: Wed, 19 Jan 2022 11:20:52 +0300 Subject: [PATCH] Update Dockerfile (#70) Fixed ubuntu version number, add pip upgrade, remove pip3 install opencv (already in requirements.txt) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5e4f0e..e6b25fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:18.04 RUN apt-get update RUN apt install -y python3 RUN apt install -y python3-pip @@ -7,7 +7,7 @@ RUN apt install -y libsm6 RUN apt install -y libxext6 RUN apt install -y libxrender1 RUN apt install -y libfontconfig1 -RUN pip3 install opencv-python +RUN pip3 install --upgrade pip COPY . /home/GazeTracking WORKDIR /home/GazeTracking RUN pip3 install -r requirements.txt