From 7cee6501c5ab4c927c67db2bb3cdc5b3665e1656 Mon Sep 17 00:00:00 2001 From: CNeuromod Bot Date: Tue, 4 Feb 2025 15:47:23 -0500 Subject: [PATCH] fix dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e961369..26c6eb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,13 +22,12 @@ FROM python:3.12-alpine AS builder -RUN apk add --no-cache curl bzip2 gcc libffi-dev musl-dev -RUN pip install --no-cache-dir virtualenv +RUN apk add --no-cache curl bzip2 gcc libffi-dev musl-dev py3-virtualenv RUN virtualenv /opt/venv && source /opt/venv/bin/activate && \ - python -m pip install --no-cache-dir datalad pytest ssh_agent_setup + pip install --no-cache-dir datalad pytest ssh_agent_setup FROM python:3.12-alpine -RUN apk add --no-cache git openssh-client git-annex +RUN apk add --no-cache git openssh-client git-annex py3-virtualenv COPY --from=builder /opt/venv /opt/venv ENV PATH=$PATH:/opt/venv/bin