Lavlu118557 commited on
Commit
b6d323a
·
verified ·
1 Parent(s): 64e091f

Upload Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +22 -0
Dockerfile.txt ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #
2
+ # SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
5
+
6
+ # Use a specific container image for the sever
7
+ FROM hadadrjt/ai:latest
8
+
9
+ # Set the main working directory inside the container
10
+ WORKDIR /node
11
+
12
+ # Copy all files into the container
13
+ COPY . .
14
+
15
+ # Install all dependencies
16
+ RUN npm install
17
+
18
+ # Open the port so the web can be accessed
19
+ EXPOSE 7860
20
+
21
+ # Start the server
22
+ CMD ["npm", "start"]