hfariborzi commited on
Commit
18153d3
·
verified ·
1 Parent(s): 8c027bc

Create Dockerfile

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