Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
|
|
|
|
| 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"]
|