kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added psql binary, quiet npm flag
rodzic
17621e39b2
commit
812e67adc2
|
@ -17,8 +17,9 @@ RUN printf "Package: *\nPin: release a=testing\nPin-Priority: 750\n" > /etc/apt/
|
|||
RUN printf "deb http://mirror.steadfast.net/debian/ stable main contrib non-free\ndeb-src http://mirror.steadfast.net/debian/ stable main contrib non-free" > /etc/apt/sources.list.d/stable.list
|
||||
RUN printf "deb http://mirror.steadfast.net/debian/ testing main contrib non-free\ndeb-src http://mirror.steadfast.net/debian/ testing main contrib non-free" > /etc/apt/sources.list.d/testing.list
|
||||
|
||||
# Install Node.js GDAL, nginx, letsencrypt
|
||||
RUN apt-get -qq update && apt-get -qq install -t testing -y binutils libproj-dev gdal-bin nginx && apt-get -qq install -y gettext-base cron certbot
|
||||
# Install Node.js GDAL, nginx, letsencrypt, psql
|
||||
RUN apt-get -qq update && apt-get -qq install -t testing -y binutils libproj-dev gdal-bin nginx && apt-get -qq install -y gettext-base cron certbot postgresql-client-9.6
|
||||
|
||||
|
||||
# Install pip reqs
|
||||
ADD requirements.txt /webodm/
|
||||
|
@ -32,10 +33,10 @@ RUN ln -s /webodm/nginx/crontab /etc/cron.d/nginx-cron && chmod 0644 /webodm/ngi
|
|||
RUN git submodule update --init
|
||||
|
||||
WORKDIR /webodm/nodeodm/external/node-OpenDroneMap
|
||||
RUN npm install
|
||||
RUN npm install --quiet
|
||||
|
||||
WORKDIR /webodm
|
||||
RUN npm install -g webpack && npm install && webpack
|
||||
RUN npm install --quiet -g webpack && npm install --quiet && webpack
|
||||
RUN python manage.py collectstatic --noinput
|
||||
|
||||
RUN rm /webodm/webodm/secret_key.py
|
||||
|
|
Ładowanie…
Reference in New Issue