From 45e9113eb5538f2251d6092ab29336119db94a2a Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 26 Apr 2020 01:28:32 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 111af78..98f766c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,13 @@ FROM python:3-alpine -RUN apk add build-base openssl-dev libffi-dev +RUN apk add openssl build-base openssl-dev libffi-dev redis postgresql-client -WORKDIR /usr/src/app +WORKDIR /usr/src/houdini + +ENV DOCKERIZE_VERSION v0.6.1 +RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ + && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ + && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt