kopia lustrzana https://github.com/OpenDroneMap/NodeODM
rodzic
b076c6f1b7
commit
d2be364842
|
@ -5,7 +5,7 @@ EXPOSE 3000
|
|||
|
||||
USER root
|
||||
RUN apt-get update && apt-get install -y curl gpg-agent ca-certificates
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_10.x | bash -
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash -
|
||||
RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \
|
||||
ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \
|
||||
ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \
|
||||
|
@ -18,7 +18,7 @@ WORKDIR "/var/www"
|
|||
RUN useradd -m -d "/home/odm" -s /bin/bash odm
|
||||
COPY --chown=odm:odm . /var/www
|
||||
|
||||
RUN npm install && mkdir -p tmp
|
||||
RUN npm install --production && mkdir -p tmp
|
||||
|
||||
RUN chown -R odm:odm /var/www
|
||||
RUN chown -R odm:odm /code
|
||||
|
|
Ładowanie…
Reference in New Issue