Spaces:
Runtime error
Runtime error
Commit ·
b19e1ab
1
Parent(s): 2c7c6e8
fix: docker
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
|
@@ -21,13 +21,17 @@ RUN apt-get update && apt-get install -y \
|
|
| 21 |
WORKDIR /app
|
| 22 |
|
| 23 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 24 |
-
RUN pip install --no-cache-dir "gradio[mcp]"
|
| 25 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 26 |
|
|
|
|
| 27 |
# Install Playwright browsers
|
| 28 |
RUN pip install playwright
|
| 29 |
RUN playwright install --with-deps
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
RUN useradd -m -u 1000 user
|
| 32 |
USER user
|
| 33 |
|
|
|
|
| 21 |
WORKDIR /app
|
| 22 |
|
| 23 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 26 |
# Install Playwright browsers
|
| 27 |
RUN pip install playwright
|
| 28 |
RUN playwright install --with-deps
|
| 29 |
|
| 30 |
+
RUN pip install --no-cache-dir "gradio[mcp]"
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
RUN useradd -m -u 1000 user
|
| 36 |
USER user
|
| 37 |
|