Spaces:
Runtime error
Runtime error
Commit
·
e4a3467
1
Parent(s):
3ad8cbc
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -2,10 +2,8 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
|
5 |
-
RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libcairo2 libcups2 libfontconfig1 libgdk-pixbuf2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libxss1 fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils
|
6 |
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
7 |
-
RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
|
8 |
-
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
|
|
|
5 |
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
6 |
+
RUN dpkg -i google-chrome-stable_current_amd64.deb --fix-missing; apt-get -fy install
|
|
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|