Skip to content

Commit c470731

Browse files
authored
added cellpose 3.1.0 dockerfile (#587)
1 parent b3c9829 commit c470731

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

cellpose/3.1.0/Dockerfile

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
FROM python:3.11
2+
3+
LABEL base_image="python:3.11"
4+
LABEL version="1"
5+
LABEL software="cellpose"
6+
LABEL software.version="3.1.0"
7+
LABEL about.summary="A generalist algorithm for cell and nucleus segmentation."
8+
LABEL about.home="https://github.com/MouseLand/cellpose"
9+
LABEL about.license="BSD-3-Clause"
10+
LABEL about.license_file="https://github.com/MouseLand/cellpose/blob/main/LICENSE"
11+
LABEL about.documentation="https://cellpose.readthedocs.io/en/latest/"
12+
LABEL extra.identifiers.biotools=cellpose
13+
14+
MAINTAINER Yi Sun <[email protected]>
15+
MAINTAINER Florian Wuennemann <[email protected]>
16+
17+
ARG DEBIAN_FRONTEND="noninteractive"
18+
ARG CELLPOSE_VERSION="3.1.0"
19+
20+
ENV LANG en_US.UTF-8 \
21+
LC_ALL en_US.UTF-8 \
22+
LANGUAGE en_US:en
23+
24+
ENV MPLCONFIGDIR=/tmp/mpl_cache
25+
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
26+
ENV CELLPOSE_LOCAL_MODELS_PATH=/tmp/cellpose_models
27+
28+
RUN apt-get update -qq && \
29+
apt-get install -y -q --no-install-recommends \
30+
gcc \
31+
python3-dev \
32+
python3-pip \
33+
python3-wheel \
34+
libblas-dev \
35+
liblapack-dev \
36+
libatlas-base-dev \
37+
gfortran \
38+
apt-utils \
39+
bzip2 \
40+
ca-certificates \
41+
curl \
42+
locales \
43+
unzip && \
44+
apt-get clean && \
45+
rm -rf /var/lib/apt/lists/*
46+
47+
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
48+
locale-gen
49+
50+
RUN pip install --no-cache-dir -U pip \
51+
numpy \
52+
numba>=0.43.1 \
53+
wheel \
54+
scipy \
55+
PyQt5 \
56+
PyQt5.sip \
57+
torch>=1.6 \
58+
opencv-python-headless \
59+
pyqtgraph>=0.11.0rc0 \
60+
natsort \
61+
scikit-image matplotlib \
62+
scikit-learn \
63+
tqdm \
64+
tifffile \
65+
fastremap \
66+
cellpose==$CELLPOSE_VERSION

0 commit comments

Comments
 (0)