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
33 additions
and
102 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 |
---|---|---|
|
@@ -4,19 +4,20 @@ | |
FROM docker.io/python:3.11.3-slim-bullseye | ||
|
||
LABEL org.opencontainers.image.authors="FNNDSC <[email protected]>" \ | ||
org.opencontainers.image.title="ChRIS Plugin Title" \ | ||
org.opencontainers.image.description="A ChRIS plugin that..." | ||
org.opencontainers.image.title="My ChRIS Plugin" \ | ||
org.opencontainers.image.description="A ChRIS plugin to do something awesome" | ||
|
||
ARG SRCDIR=/usr/local/src/app | ||
ARG SRCDIR=/usr/local/src/pl-image_textRemove | ||
WORKDIR ${SRCDIR} | ||
|
||
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
|
||
COPY . . | ||
ARG extras_require=none | ||
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | ||
RUN pip install ".[${extras_require}]" \ | ||
&& cd / && rm -rf ${SRCDIR} | ||
WORKDIR / | ||
|
||
CMD ["commandname"] | ||
CMD ["app"] |
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,2 +1,5 @@ | ||
chris_plugin==0.2.1 | ||
matplotlib | ||
keras_ocr | ||
tensorflow | ||
|
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 |
---|---|---|
|
@@ -19,18 +19,18 @@ def get_version(rel_path: str) -> str: | |
|
||
|
||
setup( | ||
name='chris-plugin-template', | ||
name='image_textRemove', | ||
version=get_version('app.py'), | ||
description='A ChRIS DS plugin template', | ||
description='A ChRIS plugin to do something awesome', | ||
author='FNNDSC', | ||
author_email='[email protected]', | ||
url='https://github.com/FNNDSC/python-chrisapp-template', | ||
url='https://github.com/FNNDSC/pl-image_textRe', | ||
py_modules=['app'], | ||
install_requires=['chris_plugin'], | ||
license='MIT', | ||
entry_points={ | ||
'console_scripts': [ | ||
'commandname = app:main' | ||
'app = app:main' | ||
] | ||
}, | ||
classifiers=[ | ||
|