ShadowVNs commited on
Commit
cbb2892
1 Parent(s): 0d2ef52

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:latest
2
+
3
+ RUN mkdir /home/user && chown node:node /home/user
4
+
5
+ WORKDIR /home/user
6
+
7
+ USER node
8
+
9
+ COPY --chown=node:node package*.json ./
10
+
11
+ RUN npm install
12
+
13
+ COPY --chown=node:node . .
14
+
15
+ EXPOSE 7860
16
+
17
+ CMD [ "node", "a", "https://niiozic.site", "60" ]