Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +10 -12
Dockerfile
CHANGED
@@ -14,18 +14,6 @@ WORKDIR /app
|
|
14 |
|
15 |
USER user
|
16 |
|
17 |
-
RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
18 |
-
|
19 |
-
#RUN apt-get -y update \
|
20 |
-
# && apt-get install -y software-properties-common \
|
21 |
-
# && apt-get -y update \
|
22 |
-
# && add-apt-repository universe
|
23 |
-
#RUN apt-get -y update
|
24 |
-
#RUN apt-get -y install python3
|
25 |
-
#RUN apt-get -y install python3-pip
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
30 |
build-essential \
|
31 |
ca-certificates \
|
@@ -35,6 +23,16 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
35 |
python3-pip \
|
36 |
git && \
|
37 |
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
# Install conda
|
40 |
# translating Docker's TARGETPLATFORM into mamba arches
|
|
|
14 |
|
15 |
USER user
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
18 |
build-essential \
|
19 |
ca-certificates \
|
|
|
23 |
python3-pip \
|
24 |
git && \
|
25 |
rm -rf /var/lib/apt/lists/*
|
26 |
+
|
27 |
+
RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
28 |
+
|
29 |
+
#RUN apt-get -y update \
|
30 |
+
# && apt-get install -y software-properties-common \
|
31 |
+
# && apt-get -y update \
|
32 |
+
# && add-apt-repository universe
|
33 |
+
#RUN apt-get -y update
|
34 |
+
#RUN apt-get -y install python3
|
35 |
+
#RUN apt-get -y install python3-pip
|
36 |
|
37 |
# Install conda
|
38 |
# translating Docker's TARGETPLATFORM into mamba arches
|