Skip to content

Commit 165e647

Browse files
committed
Do not delete repo in docker image
1 parent 81b15e4 commit 165e647

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docker/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ FROM finsberg/fenics-gmsh
22

33
ARG REPO_BRANCH="main"
44

5-
WORKDIR /tmp
5+
WORKDIR /repo
66

77
# Copy pyproject.toml first so that we done need to reinstall in case anoter file
88
# is changing ater rebuiding docker image
99
RUN git clone --branch ${REPO_BRANCH} --single-branch https://github.com/scientificcomputing/example-paper-fenics.git
1010
RUN cd example-paper-fenics && python3 -m pip install pip --upgrade && python3 -m pip install --no-cache-dir -r requirements.txt && rm -rf /tmp
11-
12-
RUN rm -rf /tmp

0 commit comments

Comments
 (0)