LH-Tech-AI commited on
Commit
e389323
·
verified ·
1 Parent(s): d486c43

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-slim
2
+
3
+ RUN apt-get update && apt-get install -y libgomp1 git git-lfs && \
4
+ git lfs install && \
5
+ rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY package*.json ./
10
+ RUN npm install
11
+
12
+ COPY . .
13
+
14
+ RUN ls -lh .
15
+
16
+ RUN chmod -R 777 /app
17
+
18
+ EXPOSE 7860
19
+
20
+ CMD ["node", "server.js"]