another-ban commited on
Commit
ce927c5
·
verified ·
1 Parent(s): b4b2112

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile CHANGED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM quay.io/ayanokojix2306/kojixsophia:latest
2
+
3
+ # Clone the repository
4
+ RUN git clone https://github.com/ayanokojix-1/SOPHIA-MD /home/chri
5
+
6
+ # Change ownership of the directory to the 'node' user
7
+ RUN chown -R node:node /home/chri
8
+
9
+ # Switch to the 'node' user
10
+ USER node
11
+
12
+ # Set the working directory
13
+ WORKDIR /home/chri
14
+
15
+
16
+ # Install dependencies
17
+ RUN npm install
18
+
19
+ # Expose the port
20
+ EXPOSE 7860
21
+
22
+ # Run the start.sh script
23
+ CMD ["npm" , "start" ]