From ac0f21c9afd38d313af71d6a8f7a0ef9df9f7e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Garc=C3=ADa?= <44896401+iakigarci@users.noreply.github.com> Date: Mon, 30 Nov 2020 18:57:18 +0100 Subject: [PATCH] Update Dockerfile --- identidock/Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/identidock/Dockerfile b/identidock/Dockerfile index 8d1cad8..9e8a43e 100644 --- a/identidock/Dockerfile +++ b/identidock/Dockerfile @@ -1,12 +1,5 @@ FROM python:3.4 - -RUN groupadd -r uwsgi && useradd -r -g uwsgi uwsgi -RUN pip install Flask==0.10.1 uWSGI==2.0.8 requests==2.5.1 redis==2.10.3 +RUN pip install Flask==0.10.1 WORKDIR /app COPY app /app -COPY cmd.sh / - -EXPOSE 9090 9191 -USER uwsgi - -CMD ["/cmd.sh"] +CMD ["python", "identidock.py"]