Update Dockerfile

This commit is contained in:
Eugene Pankov 2021-07-26 20:42:36 +02:00
parent 4af826d59e
commit 427a245b24
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -3,7 +3,7 @@ FROM python:3.7-alpine AS build
ARG EXTRA_DEPS
RUN apk add build-base musl-dev libffi-dev openssl-dev mariadb-dev
WORKDIR /app
RUN pip install -U setuptools 'cryptography>=3.0,<3.1' poetry==1.1.7 ${EXTRA_DEPS}
RUN pip install -U setuptools 'cryptography>=3.0,<3.1' poetry==1.1.7 $EXTRA_DEPS
COPY pyproject.toml poetry.lock ./
RUN poetry config virtualenvs.create false
RUN poetry install --no-dev --no-ansi --no-interaction