Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
# Install chromium and the matching driver
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
| 8 |
|
| 9 |
# Set working directory
|
| 10 |
WORKDIR /app
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
# Install chromium and the matching driver
|
| 4 |
+
# Cleaned of hidden characters and using standard package names
|
| 5 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
+
chromium \
|
| 7 |
+
chromium-driver \
|
| 8 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /app
|