Spaces:
Sleeping
Sleeping
Commit ·
a7d5885
1
Parent(s): 126f324
Fix: Change System to Ubuntu
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.12-
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
ENV PYTHONUNBUFFERED=1
|
|
@@ -7,8 +7,8 @@ ENV PORT=7860
|
|
| 7 |
COPY . .
|
| 8 |
COPY example.config.json config.json
|
| 9 |
|
| 10 |
-
RUN
|
| 11 |
-
RUN
|
| 12 |
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
RUN chmod +x /app/startup.sh
|
|
|
|
| 1 |
+
FROM python:3.12-ubuntu
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
ENV PYTHONUNBUFFERED=1
|
|
|
|
| 7 |
COPY . .
|
| 8 |
COPY example.config.json config.json
|
| 9 |
|
| 10 |
+
RUN apt update -y
|
| 11 |
+
RUN apt install chromium chromium-chromedriver xvfb -y
|
| 12 |
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
RUN chmod +x /app/startup.sh
|