filmm commited on
Commit
70676cd
·
verified ·
1 Parent(s): c849870

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -9
Dockerfile CHANGED
@@ -1,14 +1,18 @@
1
- FROM python:3.11-slim
2
 
3
- # Set working directory
4
  WORKDIR /app
5
 
6
- # Install dependencies
7
- COPY ai.zip .
8
- COPY setup.sh .
9
- RUN apt-get update && apt-get install -y unzip && \
10
- chmod +x setup.sh && ./setup.sh && \
11
- pip install --no-cache-dir -r requirements.txt
 
 
 
 
 
 
12
 
13
- # Run the app
14
  CMD ["python", "app.py"]
 
1
+ FROM python:3.11
2
 
 
3
  WORKDIR /app
4
 
5
+ # Install unzip
6
+ RUN apt-get update && apt-get install -y unzip
7
+
8
+ # Copy all files
9
+ COPY ai.zip ./
10
+ COPY setup.sh ./
11
+
12
+ # Unzip
13
+ RUN chmod +x setup.sh && ./setup.sh
14
+
15
+ # Install Python dependencies
16
+ RUN pip install --no-cache-dir -r requirements.txt
17
 
 
18
  CMD ["python", "app.py"]