Jofax commited on
Commit
9e094da
·
verified ·
1 Parent(s): 20b430b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install dependencies
6
+ COPY requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ # Create persistent storage directory
10
+ RUN mkdir -p /data && chmod 777 /data
11
+
12
+ # Copy application files
13
+ COPY . .
14
+
15
+ EXPOSE 7860
16
+
17
+ # Run the OdiStay engine
18
+ CMD ["python", "app.py"]