Skip to content

Commit 6c92598

Browse files
Merge pull request #768 from guzman-raphael/fix-docker
Fix lingering docker build permission issues
2 parents 1e24ea0 + 1e921b5 commit 6c92598

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
notebook
2+
build
3+
*.egg-info
4+
dist
5+
.vscode
6+
__pycache__

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM datajoint/pydev
22

3-
ADD . /src
4-
RUN pip install --user /src && \
5-
rm -rf /src
3+
COPY --chown=dja . /tmp/src
4+
RUN pip install --user /tmp/src && \
5+
rm -rf /tmp/src

0 commit comments

Comments
 (0)