Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +13 -14
Dockerfile
CHANGED
|
@@ -2,20 +2,19 @@ FROM selenium/standalone-chrome:latest
|
|
| 2 |
|
| 3 |
USER root
|
| 4 |
|
| 5 |
-
RUN apt-get install -y --no-install-recommends
|
| 6 |
-
#
|
| 7 |
-
#
|
| 8 |
-
#
|
| 9 |
-
#
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
#
|
| 13 |
-
#
|
| 14 |
-
#
|
| 15 |
-
#
|
| 16 |
-
#
|
| 17 |
-
|
| 18 |
-
# && rm -rf /var/lib/apt/lists/*
|
| 19 |
|
| 20 |
COPY requirements.txt .
|
| 21 |
RUN pip3 install -r requirements.txt
|
|
|
|
| 2 |
|
| 3 |
USER root
|
| 4 |
|
| 5 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
+
# build-essential \
|
| 7 |
+
# git \
|
| 8 |
+
# python3 \
|
| 9 |
+
# python3-dev \
|
| 10 |
+
# python3-numpy \
|
| 11 |
+
python3-pip \
|
| 12 |
+
# python3-setuptools \
|
| 13 |
+
# openssl \
|
| 14 |
+
# libffi-dev \
|
| 15 |
+
# libssl-dev \
|
| 16 |
+
# python3-wheel \
|
| 17 |
+
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 18 |
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip3 install -r requirements.txt
|