GoGma commited on
Commit
b469e55
·
verified ·
1 Parent(s): 485686f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Node.js base image
2
+ FROM node:18-alpine
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Install git
8
+ RUN apk add --no-cache git
9
+
10
+ # Clone the GitHub repository
11
+ RUN git clone https://github.com/Gmagl/agente.git .
12
+
13
+ # Install dependencies
14
+ RUN npm install
15
+
16
+ # Expose the port the app runs on
17
+ EXPOSE 7860
18
+
19
+ # Start the application
20
+ CMD ["npm", "start"]