generated from FNNDSC/python-chrisapp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
# Python version can be changed, e.g. | ||
# FROM python:3.8 | ||
# FROM ghcr.io/mamba-org/micromamba:1.5.1-focal-cuda-11.3.1 | ||
FROM docker.io/python:3.12.1-slim-bookworm | ||
FROM docker.io/python:latest | ||
|
||
LABEL org.opencontainers.image.authors="FNNDSC <dev@babyMRI.org>" \ | ||
org.opencontainers.image.title="ChRIS Plugin Title" \ | ||
org.opencontainers.image.description="A ChRIS plugin that..." | ||
org.opencontainers.image.title="A ChRIS plugin to analyze the result produced by an LLD analysis " \ | ||
org.opencontainers.image.description="A ChRIS plugin to analyze the result produced by an LLD analysis " | ||
|
||
ARG SRCDIR=/usr/local/src/app | ||
ARG SRCDIR=/usr/local/src/pl-lld_chxr | ||
WORKDIR ${SRCDIR} | ||
|
||
COPY requirements.txt . | ||
RUN --mount=type=cache,sharing=private,target=/root/.cache/pip pip install -r requirements.txt | ||
RUN apt-get update ; apt-get install docker.io -y ; bash | ||
|
||
COPY . . | ||
ARG extras_require=none | ||
RUN pip install ".[${extras_require}]" \ | ||
&& cd / && rm -rf ${SRCDIR} | ||
WORKDIR / | ||
|
||
CMD ["commandname"] | ||
CMD ["lld_chxr"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
chris_plugin==0.4.0 | ||
plugin2cube | ||
python-chrisclient==2.9.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters