Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
|
@@ -23,8 +23,12 @@ RUN mkdir -p /.EasyOCR && chmod -R 777 /.EasyOCR
|
|
| 23 |
# Create Hugging Face cache directory
|
| 24 |
RUN mkdir -p /.cache && chmod -R 777 /.cache
|
| 25 |
|
| 26 |
-
#
|
| 27 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Run as root so that all cache dirs are writable
|
| 30 |
USER root
|
|
|
|
| 23 |
# Create Hugging Face cache directory
|
| 24 |
RUN mkdir -p /.cache && chmod -R 777 /.cache
|
| 25 |
|
| 26 |
+
# Install Python requirements
|
| 27 |
+
RUN pip install -r requirements.txt
|
| 28 |
+
|
| 29 |
+
# Install Playwright dependencies and browsers
|
| 30 |
+
RUN playwright install-deps
|
| 31 |
+
RUN playwright install
|
| 32 |
|
| 33 |
# Run as root so that all cache dirs are writable
|
| 34 |
USER root
|