Skip to content

Commit

Permalink
Install from pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Dec 15, 2024
1 parent f2814e1 commit ecf813e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
FROM continuumio/miniconda3:4.7.12-alpine as builder
FROM continuumio/miniconda3:24.9.2-0 as builder

USER root

COPY . /omero-prometheus-tools/
RUN cd /omero-prometheus-tools/ && \
/opt/conda/bin/python setup.py sdist bdist_wheel
/opt/conda/bin/python -mpip install build && \
/opt/conda/bin/python -m build

######################################################################

FROM continuumio/miniconda3:4.7.12-alpine
FROM continuumio/miniconda3:24.9.2-0
# https://jcrist.github.io/conda-docker-tips.html
RUN /opt/conda/bin/conda install -y -q -c conda-forge omero-py nomkl
RUN /opt/conda/bin/pip install https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp312-cp312-manylinux_2_28_x86_64.whl
RUN /opt/conda/bin/pip install omero-py
RUN /opt/conda/bin/conda install -y -q -c conda-forge nomkl

COPY --from=builder /omero-prometheus-tools/dist/*.whl .
RUN /opt/conda/bin/pip install *.whl
ENTRYPOINT ["/opt/conda/bin/omero-prometheus-tools.py"]

0 comments on commit ecf813e

Please sign in to comment.