aryahisma commited on
Commit
ea13a3f
·
verified ·
1 Parent(s): 43c2f30

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Set working directory
4
+ WORKDIR /app
5
+
6
+ # Copy files
7
+ COPY . /app
8
+
9
+ # Install dependencies
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Expose port (Chainlit default port 8000)
13
+ EXPOSE 8000
14
+
15
+ # Run Chainlit
16
+ CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "8000", "--no-cache"]