Skip to content

Commit

Permalink
Update stable Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
keileg committed Feb 13, 2025
1 parent 5f83fe3 commit ac6b832
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions dockerfiles/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,10 @@ WORKDIR ${POREPY_HOME}
# Make sure we're on the main branch
RUN git checkout main && git pull

# Do the install
RUN pip install -e .

# Run a pip freeze. It is always good to know what been installed.
RUN pip freeze

# Add PorePy home to the pythonpath. This may or may not be necessary.
ENV PYTHONPATH $POREPY_HOME:$PYTHONPATH

# Run tests to check that everything works.
# NOTE: When run as a GH action (presumably after a PR to the develop branch
# was accepted, e.g., when the tests have already been run on GH), this should
# only fail if the docker image itself is flawed.
WORKDIR ${POREPY_HOME}/tests
RUN pytest
WORKDIR ${POREPY_HOME}
WORKDIR ${POREPY_HOME}

0 comments on commit ac6b832

Please sign in to comment.