Niansuh commited on
Commit
f2e8a0f
1 Parent(s): cc3c2f2

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the Node.js 18 base image
2
+ FROM node:18
3
+
4
+ # Clone the Mixtral repository from GitHub
5
+ RUN git clone https://github.com/Niansuh/Mixtral.git
6
+
7
+ # Set the working directory inside the container
8
+ WORKDIR "Mixtral"
9
+
10
+ # Install dependencies using npm
11
+ RUN npm install
12
+
13
+ # Build the project
14
+ RUN npm run build
15
+
16
+ # Expose port 3000 for accessing the application
17
+ EXPOSE 3000
18
+
19
+ # Specify the command to run the application
20
+ CMD ["npm", "run", "start"]