Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -12,8 +12,6 @@ ARG TARGETPLATFORM
|
|
12 |
RUN useradd -m -u 1000 user
|
13 |
WORKDIR /app
|
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,7 +21,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
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 \
|
|
|
12 |
RUN useradd -m -u 1000 user
|
13 |
WORKDIR /app
|
14 |
|
|
|
|
|
15 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
16 |
build-essential \
|
17 |
ca-certificates \
|
|
|
21 |
python3-pip \
|
22 |
git && \
|
23 |
rm -rf /var/lib/apt/lists/*
|
24 |
+
|
25 |
+
USER user
|
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 \
|