Move WORKDIR and revert certificates.

pull/170/head
Branton Davis 2021-10-04 19:39:09 -05:00
rodzic c00f1b7900
commit 27d9ddfefb
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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