Skip to content

Commit 91693eb

Browse files
committed
Fix perms in container install and volumes
1 parent eefcbd8 commit 91693eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
ARG PY_VER=3.9
22
ARG IMAGE=jupyter/docker-stacks-foundation
33
FROM ${IMAGE}
4-
USER jovyan
54
RUN conda install -y -n base -c conda-forge python=${PY_VER} git graphviz pydot && \
65
conda clean -afy
6+
USER 1000
7+
VOLUME /src
8+
WORKDIR /tmp
79
COPY --chown=1000:100 ./pyproject.toml ./README.md ./LICENSE.txt /main/
810
COPY --chown=1000:100 ./datajoint /main/datajoint
911
RUN \
1012
pip install --no-cache-dir /main && \
1113
rm -r /main/*
14+
WORKDIR /src

0 commit comments

Comments
 (0)