Added slate dockerfile, run script

pull/995/head
Piero Toffanin 2021-06-07 11:53:37 -04:00
rodzic 671189b769
commit 172a7abe09
2 zmienionych plików z 15 dodań i 0 usunięć

10
slate/Dockerfile 100644
Wyświetl plik

@ -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"]

Wyświetl plik

@ -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