Skip to content

Commit ced7666

Browse files
author
Ware, Joseph (DLSLtd,RAL,LSCI)
committed
Ensure workspace is editable
1 parent be152c1 commit ced7666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/Dockerfile.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ ENV PATH=/venv/bin:$PATH{% if docker %}
1414

1515
# The build stage installs the context into the venv
1616
FROM developer AS build
17-
COPY . /context
18-
WORKDIR /context
17+
COPY --chmod=777 . /workspaces/{{ repo_name }}
18+
WORKDIR /workspaces/{{ repo_name }}
1919
RUN touch dev-requirements.txt && pip install -c dev-requirements.txt .
2020

2121
FROM build AS debug

0 commit comments

Comments
 (0)