From f653cce659167178d841a592b4ea2f95505eb1c8 Mon Sep 17 00:00:00 2001 From: SaiVenkatesh-Jajula <109030073+SaiVenkatesh-Jajula@users.noreply.github.com> Date: Fri, 9 Jun 2023 02:38:14 +0530 Subject: [PATCH] Update Dockerfile Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sxo6KB/flask/ You are using pip version 8.1.1, however version 23.1.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aa79e7f..e21947d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ubuntu:16.04 -RUN apt-get update && apt-get install -y python python-pip -RUN pip install flask +RUN apt-get update && apt-get install -y python python-pip +RUN pip install --upgrade pip && pip install flask COPY app.py /opt/ ENTRYPOINT FLASK_APP=/opt/app.py flask run --host=0.0.0.0 --port=8080