Skip to content

Commit

Permalink
Merge 658ad76 into 28ed95d
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego committed Jul 2, 2019
2 parents 28ed95d + 658ad76 commit 2e0eb4c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ RUN pip install requirements-builder && \
COPY . /code

# Debug off by default
ARG DEBUG=false
RUN if [ "${DEBUG}" = "true" ]; then pip install -r requirements-dev.txt; pip install -e .; else pip install .; fi;
ARG DEBUG=0
RUN if [ "${DEBUG}" -gt 0 ]; then pip install -r requirements-dev.txt; pip install -e .; else pip install .; fi;

# Building with locally-checked-out shared modules?
RUN if test -e modules/reana-commons; then pip install modules/reana-commons --upgrade; fi
RUN if test -e modules/reana-db; then pip install modules/reana-db --upgrade; fi

# Check if there are broken requirements
RUN pip check

EXPOSE 5000
ENV FLASK_APP reana_workflow_controller/app.py

Expand Down

0 comments on commit 2e0eb4c

Please sign in to comment.