ahmetalper commited on
Commit
a606eb4
·
verified ·
1 Parent(s): 085fc92

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -8
Dockerfile CHANGED
@@ -9,14 +9,9 @@ USER user
9
 
10
  WORKDIR $HOME/app
11
 
12
- RUN pip install --no-cache-dir google-generativeai
13
- RUN pip install --no-cache-dir beautifulsoup4
14
- RUN pip install --no-cache-dir requests
15
- RUN pip install --no-cache-dir fastapi
16
- RUN pip install --no-cache-dir uvicorn
17
-
18
  RUN --mount=type=secret,id=URL,mode=0444,required=true \
19
-
20
  git clone $(cat /run/secrets/URL) .
21
 
22
- CMD ["python", "main.py"]
 
 
 
9
 
10
  WORKDIR $HOME/app
11
 
 
 
 
 
 
 
12
  RUN --mount=type=secret,id=URL,mode=0444,required=true \
 
13
  git clone $(cat /run/secrets/URL) .
14
 
15
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
+
17
+ CMD ["python", "backend/main.py"]