Bothen commited on
Commit
4b05ee6
·
verified ·
1 Parent(s): 7a08fc5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:20.4
2
+
3
+ WORKDIR /app
4
+ COPY package*.json ./
5
+ RUN npm install --no-audit --fund false
6
+
7
+ COPY . .
8
+
9
+ RUN chown -R node:node lib/bin/* && \
10
+ chmod u+x lib/bin/* && \
11
+ chmod -R 777 /app
12
+
13
+ USER node
14
+
15
+ RUN ls -la
16
+
17
+ CMD ["node", "clewd.js"]