From c39979e25342f8d5b97add4291acfc12b75209c4 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Mon, 7 Oct 2019 20:16:35 +0300 Subject: [PATCH] Use different python image --- Dockerfile.prod | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index f95e799..0b0bccd 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,16 +1,9 @@ -FROM python:alpine +FROM python:3.5 ENV PYTHONUNBUFFERED 1 ENV IS_DOCKER 0 WORKDIR /app COPY requirements.txt ./ COPY requirements.production.txt ./ - -RUN apk add --no-cache --virtual .build-deps build-base linux-headers \ - && apk add --no-cache jpeg-dev zlib-dev postgresql-dev \ - && pip install -r requirements.txt \ - && pip install -r requirements.production.txt \ - && apk del .build-deps - COPY . ./ COPY sikweb/settings-sample-prod.py settings.py