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
4 changed files
with
10 additions
and
12 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 |
---|---|---|
|
@@ -5,19 +5,20 @@ FROM docker.io/python:3.11.0-slim-bullseye | |
|
||
LABEL org.opencontainers.image.authors="FNNDSC <[email protected]>" \ | ||
org.opencontainers.image.title="My ChRIS Plugin" \ | ||
org.opencontainers.image.description="A ChRIS plugin to do something awesome" | ||
org.opencontainers.image.description="A ChRIS plugin to remove texts from image" | ||
|
||
ARG SRCDIR=/usr/local/src/pl-image_textRemove | ||
WORKDIR ${SRCDIR} | ||
|
||
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
RUN apt-get update | ||
RUN apt-get install ffmpeg libsm6 libxext6 -y | ||
|
||
COPY . . | ||
ARG extras_require=none | ||
|
||
RUN pip install ".[${extras_require}]" \ | ||
&& apt update && apt -y install ffmpeg libsm6 libxext6 \ | ||
&& cd / && rm -rf ${SRCDIR} | ||
WORKDIR / | ||
|
||
|
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,6 +1,3 @@ | ||
chris_plugin==0.2.1 | ||
matplotlib | ||
keras-ocr | ||
tensorflow==2.12.0 | ||
opencv-python | ||
|