From 6439b9b5feb540bed34676416c8108b6c4688286 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 6 Sep 2021 14:41:47 +0200 Subject: [PATCH] removed requirements file from dockerfile --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42d2eb2..b27816a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,14 +29,8 @@ WORKDIR /app RUN pip install --upgrade pip RUN pip install gunicorn +RUN pip install flit -RUN pip install -r requirements.txt -RUN pip install . +RUN flit install --pth-file -# switch back to root to remove header files -#USER root -#RUN apk del libc-dev libffi-dev openssl-dev python3-dev - -# switch to the created user to run the application -#USER deploy CMD ["gunicorn", "--paster", "/app/production.ini", "-b", "0.0.0.0:8000"]