sitong608 commited on
Commit
4bb4c00
·
1 Parent(s): 6bf9df3

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +23 -0
dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Step 1: Set the base image
3
+ FROM huggingface/space
4
+
5
+ # Step 2: Install dependencies
6
+ RUN apt-get update \
7
+ && apt-get install -y git python3 python3-pip
8
+
9
+ # Step 3: Install ToolJet dependencies
10
+ RUN pip3 install -U pip
11
+ RUN pip3 install tooljet
12
+
13
+ # Step 4: Copy ToolJet project files into the Docker image
14
+ COPY . /app
15
+
16
+ # Step 5: Set the working directory
17
+ WORKDIR /app
18
+
19
+ # Step 6: Expose the relevant port
20
+ EXPOSE 3000
21
+
22
+ # Step 7: Set the command
23
+ CMD ["tooljet", "start"]