Commit ed90fa9f authored by Narcon Nicolas's avatar Narcon Nicolas
Browse files

ENH: add entrypoints + pip install to Dockerfile

1 merge request!2Resolve "Ready-to-use docker"
Showing with 10 additions and 0 deletions
+10 -0
...@@ -27,4 +27,8 @@ RUN cd /src/otb/otb/Modules/Remote/ && git clone https://gitlab.irstea.fr/remi.c ...@@ -27,4 +27,8 @@ RUN cd /src/otb/otb/Modules/Remote/ && git clone https://gitlab.irstea.fr/remi.c
COPY . /src/otb/otb/Modules/Remote/decloud/ COPY . /src/otb/otb/Modules/Remote/decloud/
RUN cd /src/otb/build/OTB/build && cmake /src/otb/otb/ -DModule_SimpleExtractionTools=ON -DModule_MLUtils=ON -DBUILD_TESTING=OFF -DModule_OTBDecloud=ON RUN cd /src/otb/build/OTB/build && cmake /src/otb/otb/ -DModule_SimpleExtractionTools=ON -DModule_MLUtils=ON -DBUILD_TESTING=OFF -DModule_OTBDecloud=ON
RUN cd /src/otb/build/OTB/build && make -j $(nproc --all) install RUN cd /src/otb/build/OTB/build && make -j $(nproc --all) install
# Install decloud
RUN cd /src/otb/otb/Modules/Remote/decloud/ && python3 -m pip install .
USER otbuser USER otbuser
...@@ -49,4 +49,10 @@ setuptools.setup( ...@@ -49,4 +49,10 @@ setuptools.setup(
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
python_requires=">=3.6", python_requires=">=3.6",
keywords="remote sensing, deep learning, gapfilling, remove clouds, satellite imagery, otb, orfeotoolbox", keywords="remote sensing, deep learning, gapfilling, remove clouds, satellite imagery, otb, orfeotoolbox",
entry_points={
'console_scripts': [
'crga_processor=decloud.production.crga_processor:main',
'meraner_processor=decloud.production.meraner_processor:main'
],
}
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment