Skip to content

Commit

Permalink
docker: also install requirements-server
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed May 14, 2021
1 parent b6341f4 commit 344c8f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends gcc git g++ cma
ENV PATH /root/.local/bin:$PATH
WORKDIR /app
ENV PIP_FLAGS "--user --no-cache-dir --compile"
COPY requirements.txt .
RUN pip install $PIP_FLAGS -r requirements.txt
COPY requirements.txt requirements-server.txt ./
RUN pip install $PIP_FLAGS -r requirements.txt && \
pip install $PIP_FLAGS -r requirements-server.txt

COPY . .
ENV SETUPTOOLS_SCM_PRETEND_VERSION dev
RUN pip install $PIP_FLAGS -e .[server]
Expand Down

0 comments on commit 344c8f4

Please sign in to comment.