filmm commited on
Commit
cfadc8b
·
verified ·
1 Parent(s): 954e1c8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -10
Dockerfile CHANGED
@@ -2,17 +2,10 @@ 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"]
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY . .
 
6
 
7
+ RUN apt-get update && apt-get install -y unzip && unzip ai.zip -d ai
 
 
8
 
 
 
 
 
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
+ CMD ["python", "ai/app.py"]