Files
2023-06-28 06:36:13 +02:00

18 lines
496 B
Docker

FROM eu.gcr.io/vnc-development/docker-vnc-base:latest
RUN apt-get update
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
RUN apt-get install -y build-essential
RUN npm install -g serve
RUN npm install pm2 -g
RUN apt-get install -y vnc-avatarservice
COPY config/vnc-avatarservice.js /usr/share/vnc-avatar/config/vnc-avatarservice.js
# Folder to store the Avatars
RUN mkdir /var/opt/out
ENTRYPOINT ["pm2-runtime", "/usr/share/vnc-avatar/app/app.js"]