Skip to content

Commit 8ceec64

Browse files
committed
add perms to use docker dir
1 parent 41e5e7c commit 8ceec64

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
# uv + Python 3.10 preinstalled
22
FROM ghcr.io/astral-sh/uv:python3.10-bookworm
3-
WORKDIR /root/cbioportal_export/
3+
WORKDIR /workspace/cbioportal_export
44

55
COPY . .
66

77
RUN uv sync --frozen --no-dev
88

9+
# make sure any UID can read/traverse
10+
RUN chmod -R a+rX /workspace/bioportal_export
11+
912
# from here on, use uv run or call python in .venv explicitly
10-
ENV PATH="/root/cbioportal_export/.venv/bin:$PATH"
13+
ENV PATH="/workspace/cbioportal_export/.venv/bin:$PATH"
1114

12-
WORKDIR /root/
15+
WORKDIR /workspace/
1316

1417
# clone dep repos
1518
RUN git clone https://github.com/rxu17/datahub-study-curation-tools.git -b upgrade-to-python3
1619
RUN git clone https://github.com/cBioPortal/cbioportal.git -b v6.3.2
1720

18-
WORKDIR /root/cbioportal_export/
21+
RUN chmod -R a+rX /workspace/datahub-study-curation-tools /workspace/cbioportal
22+
23+
24+
WORKDIR /workspace/cbioportal_export

0 commit comments

Comments
 (0)