fixing the docker file not to do something weird with requirements.txt when we are using pipenv right now.
This commit is contained in:
parent
063da419d0
commit
b94f2ecca1
|
@ -11,8 +11,7 @@ RUN apt-get update && \
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Pipfile Pipfile.lock /app/
|
COPY Pipfile Pipfile.lock /app/
|
||||||
RUN cd /app && pipenv lock --keep-outdated --requirements > requirements.txt
|
RUN pipenv install
|
||||||
RUN pip install -r /app/requirements.txt
|
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apt-get remove -y gcc python3-dev libssl-dev \
|
&& apt-get remove -y gcc python3-dev libssl-dev \
|
||||||
|
|
Loading…
Reference in New Issue