Spaces:
Running
Running
jhj0517
commited on
Commit
·
675b888
1
Parent(s):
2ccaed9
revert
Browse files- Dockerfile +1 -1
- Install.bat +1 -1
- Install.sh +1 -1
Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@ COPY requirements.txt .
|
|
| 11 |
|
| 12 |
RUN python3 -m venv venv && \
|
| 13 |
. venv/bin/activate && \
|
| 14 |
-
pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
|
| 17 |
FROM debian:bookworm-slim AS runtime
|
|
|
|
| 11 |
|
| 12 |
RUN python3 -m venv venv && \
|
| 13 |
. venv/bin/activate && \
|
| 14 |
+
pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
|
| 17 |
FROM debian:bookworm-slim AS runtime
|
Install.bat
CHANGED
|
@@ -10,7 +10,7 @@ cd /d "%~dp0\venv\Scripts"
|
|
| 10 |
call activate.bat
|
| 11 |
|
| 12 |
cd /d "%~dp0"
|
| 13 |
-
pip install -r requirements.txt
|
| 14 |
|
| 15 |
if errorlevel 1 (
|
| 16 |
echo.
|
|
|
|
| 10 |
call activate.bat
|
| 11 |
|
| 12 |
cd /d "%~dp0"
|
| 13 |
+
pip install -r requirements.txt
|
| 14 |
|
| 15 |
if errorlevel 1 (
|
| 16 |
echo.
|
Install.sh
CHANGED
|
@@ -7,7 +7,7 @@ fi
|
|
| 7 |
|
| 8 |
source venv/bin/activate
|
| 9 |
|
| 10 |
-
pip install -r requirements.txt
|
| 11 |
echo ""
|
| 12 |
echo "Requirements installation failed. Please remove the venv folder and run the script again."
|
| 13 |
deactivate
|
|
|
|
| 7 |
|
| 8 |
source venv/bin/activate
|
| 9 |
|
| 10 |
+
pip install -r requirements.txt && echo "Requirements installed successfully." || {
|
| 11 |
echo ""
|
| 12 |
echo "Requirements installation failed. Please remove the venv folder and run the script again."
|
| 13 |
deactivate
|