simpler docker

This commit is contained in:
Untone 2021-07-15 17:42:17 +03:00
parent 1457a7d073
commit c27cbc489f

View File

@ -1,12 +1,12 @@
FROM python:3.9
RUN pip3 install pipenv
RUN pip3 install pip
WORKDIR /usr/src/app
COPY Pipfile ./
COPY Pipfile.lock ./
RUN set -ex && pipenv install --deploy --system
RUN set -ex && pip install
COPY . .