kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added slate dockerfile, run script
rodzic
671189b769
commit
172a7abe09
|
@ -0,0 +1,10 @@
|
|||
FROM ruby:2.7.3
|
||||
EXPOSE 4567
|
||||
|
||||
RUN apt-get update && apt-get install -y git nodejs
|
||||
RUN git clone https://github.com/OpenDroneMap/WebODM /webodm --depth 1
|
||||
|
||||
WORKDIR /webodm/slate
|
||||
RUN bundle install
|
||||
|
||||
ENTRYPOINT ["bundle", "exec", "middleman", "server"]
|
|
@ -0,0 +1,5 @@
|
|||
REM Building docker image
|
||||
if "%1"=="--build" docker build -t opendronemap/webodm_slate .
|
||||
|
||||
REM Launching server
|
||||
docker run -ti --rm -v %CD%:/webodm/slate -p 4567:4567 opendronemap/webodm_slate --watcher-force-polling
|
Ładowanie…
Reference in New Issue