From 8a6391c871a972c74fac11eb3e6376e11c3d1a42 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 7 May 2020 02:26:56 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 98f766c..eaf1f26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,12 @@ FROM python:3-alpine -RUN apk add openssl build-base openssl-dev libffi-dev redis postgresql-client +RUN apk add \ + openssl \ + build-base \ + openssl-dev \ + libffi-dev \ + redis \ + postgresql-client WORKDIR /usr/src/houdini @@ -12,8 +18,4 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt -COPY . . - -ENV server "login" - -CMD ["sh", "-c", "python ./bootstrap.py ${server}"] \ No newline at end of file +ENTRYPOINT [ "python", "./bootstrap.py" ] \ No newline at end of file