Skip to content

Commit

Permalink
Use recommended invocation of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevans committed Mar 7, 2024
1 parent b224f62 commit fb78e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ COPY dist /tmp/dist

# Install Brian2 and recommended packages
ARG TARGETARCH
RUN pip install --no-cache-dir --only-binary=:all: \
RUN python -m pip install --no-cache-dir --only-binary=:all: \
scipy \
matplotlib \
jupyterlab \
pytest \
pytest-xdist \
&& if [ "${TARGETARCH}" = "arm64" ]; then WHEEL_ARCH=aarch64; else WHEEL_ARCH=x86_64; fi \
&& pip install /tmp/dist/Brian2*_${WHEEL_ARCH}.whl brian2tools \
&& python -m pip install /tmp/dist/Brian2*_${WHEEL_ARCH}.whl brian2tools \
&& rm -rf /tmp/dist

# Create a non-root user
Expand Down

0 comments on commit fb78e25

Please sign in to comment.