diff --git a/Dockerfile b/Dockerfile index 600b8f27b..aa89a0325 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM tiangolo/uvicorn-gunicorn:python3.7-alpine3.8 +RUN apk update && apk add gcc libffi-dev g++ postgresql-dev make + RUN pip install pipenv COPY Pipfile Pipfile COPY Pipfile.lock Pipfile.lock -RUN apk update && apk add gcc libffi-dev g++ postgresql-dev make - RUN pipenv install --system --deploy --ignore-pipfile RUN apk del libffi-dev g++ make diff --git a/Dockerfile.worker b/Dockerfile.worker index 522c589b1..b460f50aa 100644 --- a/Dockerfile.worker +++ b/Dockerfile.worker @@ -1,12 +1,12 @@ FROM python:3.7-alpine +RUN apk update && apk add --no-cache gcc libffi-dev openssl-dev g++ postgresql-dev make + RUN pip install pipenv COPY Pipfile Pipfile COPY Pipfile.lock Pipfile.lock -RUN apk update && apk add --no-cache gcc libffi-dev openssl-dev g++ postgresql-dev make - RUN pipenv install --system --deploy --ignore-pipfile RUN apk del libffi-dev g++ make