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