kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Move WORKDIR and revert certificates.
rodzic
c00f1b7900
commit
27d9ddfefb
|
@ -4,7 +4,7 @@ MAINTAINER Piero Toffanin <pt@masseranolabs.com>
|
|||
EXPOSE 3000
|
||||
|
||||
USER root
|
||||
RUN apt-get update && apt-get install -y curl gpg-agent ca-certificates
|
||||
RUN apt-get update && apt-get install -y curl gpg-agent
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_10.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 && \
|
||||
|
|
|
@ -21,7 +21,6 @@ RUN apt-get update && \
|
|||
dpkg -i /tmp/opencl/*.deb && \
|
||||
ldconfig && \
|
||||
rm -Rf /tmp/opencl
|
||||
WORKDIR /var/www
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends clinfo
|
||||
|
@ -30,6 +29,7 @@ RUN usermod -aG video,users odm
|
|||
RUN usermod -aG video,users,odm root
|
||||
RUN if [ "${RENDER_GROUP_ID}" -ne 0 ]; then groupadd -g "${RENDER_GROUP_ID}" render; usermod -aG render odm; fi
|
||||
|
||||
WORKDIR /var/www
|
||||
USER odm
|
||||
|
||||
ENTRYPOINT ["/usr/bin/node", "/var/www/index.js"]
|
||||
|
|
Ładowanie…
Reference in New Issue