kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
f685096d3b
commit
951a733afb
|
@ -2,7 +2,7 @@
|
|||
FROM packages
|
||||
|
||||
# Prepare directories
|
||||
RUN mkdir /code && mkdir /project
|
||||
RUN mkdir /code
|
||||
WORKDIR /code
|
||||
|
||||
# Copy repository files
|
||||
|
@ -30,4 +30,4 @@ RUN cd SuperBuild && mkdir build && cd build && cmake .. && make -j$(nproc) \
|
|||
&& cd ../.. && mkdir build && cd build && cmake .. && make -j$(nproc)
|
||||
|
||||
# Entry point
|
||||
ENTRYPOINT ["python", "/code/run.py", "--project-path", "/code/"]
|
||||
ENTRYPOINT ["python", "/code/run.py", "code"]
|
||||
|
|
|
@ -141,7 +141,6 @@ instructions through "Create a Docker group". Once Docker is installed, the fast
|
|||
If you want to build your own Docker image from sources, type:
|
||||
|
||||
docker build -t packages -f packages.Dockerfile .
|
||||
|
||||
docker build -t my_odm_image .
|
||||
docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing my_odm_image
|
||||
|
||||
|
@ -151,7 +150,7 @@ If you want to view other results outside the Docker image simply add which dire
|
|||
established above. For example, if you're interested in the dense cloud results generated by PMVS and in the orthophoto,
|
||||
simply use the following `docker run` command after building the image:
|
||||
|
||||
docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/pmvs:/code/pmvs -v $(pwd)/odm_orthophoto:/code/odm_orthophoto my_odm_image
|
||||
docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/odm_georeferencing:/code/odm_georeferencing -v $(pwd)/odm_orthophoto:/code/odm_orthophoto my_odm_image
|
||||
|
||||
To pass in custom parameters to the run.py script, simply pass it as arguments to the `docker run` command. For example:
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue