Spaces:
Sleeping
Sleeping
Commit
·
6201250
1
Parent(s):
65f1cfe
fix: fix browser not include image
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,13 @@ FROM python:3.11-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
COPY . /app
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
RUN apt-get update \
|
| 6 |
+
&& apt-get install -y --no-install-recommends \
|
| 7 |
+
chromium \
|
| 8 |
+
ca-certificates \
|
| 9 |
+
fonts-liberation \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
+
|
| 12 |
COPY . /app
|
| 13 |
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|