mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 06:03:27 +00:00
docker
This commit is contained in:
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
**/node_modules
|
||||
**/scrypted.db
|
||||
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user