fixing the docker file not to do something weird with requirements.txt when we are using pipenv right now.

This commit is contained in:
Dan 2022-05-10 13:59:25 -04:00
parent 063da419d0
commit b94f2ecca1
1 changed files with 1 additions and 2 deletions

View File

@ -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 \