From 27ce527c60696cf76159415edd67de1b4eac78ce Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Mon, 11 Jun 2018 09:58:07 -0500 Subject: [PATCH] Add apk update and postgres-dev to dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index b00b223..fad20d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,11 @@ RUN adduser -D microblog WORKDIR /home/microblog COPY requirements.txt requirements.txt + +RUN apk update \ + && apk add libpq postgresql-dev \ + && apk add build-base + RUN python -m venv venv RUN venv/bin/pip install -r requirements.txt RUN venv/bin/pip install gunicorn pymysql