StarrySkyWorld commited on
Commit
a7d5885
·
1 Parent(s): 126f324

Fix: Change System to Ubuntu

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.12-alpine
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 apk update
11
- RUN apk add --no-cache chromium chromium-chromedriver xvfb
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