This commit is contained in:
Koushik Dutta
2021-09-09 16:06:58 -07:00
parent 6bdf2d2c4f
commit 399ccb973c
2 changed files with 13 additions and 0 deletions

2
.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
**/node_modules
**/scrypted.db

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:16
RUN apt-get -y update
RUN apt-get -y upgrade
EXPOSE 9443
EXPOSE 10080
COPY . .
WORKDIR /server
RUN apt-get -y update
RUN apt-get -y install libavahi-compat-libdnssd-dev
RUN npm install
CMD npm run serve