Skip to content

Commit 258ef81

Browse files
committed
docker: Add dev stage that does not require building a wheel
1 parent 90d2150 commit 258ef81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ RUN /opt/conda/envs/sdcflows/bin/pip install --no-cache-dir -r /tmp/requirements
9494
#
9595
# Main stage
9696
#
97-
FROM --platform=linux/amd64 ${BASE_IMAGE} as sdcflows
97+
FROM --platform=linux/amd64 ${BASE_IMAGE} as dev
9898

9999
# Configure apt
100100
ENV DEBIAN_FRONTEND="noninteractive" \
@@ -200,6 +200,8 @@ ENV SUBJECTS_DIR="$FREESURFER_HOME/subjects" \
200200
ENV MKL_NUM_THREADS=1 \
201201
OMP_NUM_THREADS=1
202202

203+
FROM dev as sdcflows
204+
203205
# Installing SDCFlows
204206
COPY --from=src /src/dist/*.whl .
205207
RUN pip install --no-cache-dir $( ls *.whl )[all]

0 commit comments

Comments
 (0)