simpler docker
This commit is contained in:
parent
1457a7d073
commit
c27cbc489f
|
@ -1,12 +1,12 @@
|
||||||
FROM python:3.9
|
FROM python:3.9
|
||||||
|
|
||||||
RUN pip3 install pipenv
|
RUN pip3 install pip
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY Pipfile ./
|
COPY Pipfile ./
|
||||||
COPY Pipfile.lock ./
|
COPY Pipfile.lock ./
|
||||||
|
|
||||||
RUN set -ex && pipenv install --deploy --system
|
RUN set -ex && pip install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
Loading…
Reference in New Issue
Block a user