Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -30,7 +30,7 @@ ENV TRANSFORMERS_CACHE=/app/.cache/huggingface \
|
|
| 30 |
RUN mkdir -p /app/.cache/huggingface /app/telemetry && chmod -R 777 /app/.cache /app/telemetry
|
| 31 |
|
| 32 |
# Activate virtual environment and install Python dependencies
|
| 33 |
-
|
| 34 |
|
| 35 |
# Ensure the start-webserver.sh script is executable
|
| 36 |
RUN chmod +x start-webserver.sh
|
|
|
|
| 30 |
RUN mkdir -p /app/.cache/huggingface /app/telemetry && chmod -R 777 /app/.cache /app/telemetry
|
| 31 |
|
| 32 |
# Activate virtual environment and install Python dependencies
|
| 33 |
+
RUN . env/bin/activate && pip install --no-cache-dir -r requirements.txt
|
| 34 |
|
| 35 |
# Ensure the start-webserver.sh script is executable
|
| 36 |
RUN chmod +x start-webserver.sh
|