Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -10,7 +10,6 @@ ARG INSTALL_CHANNEL=pytorch
|
|
| 10 |
ARG TARGETPLATFORM
|
| 11 |
|
| 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 \
|
|
@@ -22,10 +21,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
| 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 \
|
| 30 |
# && apt-get install -y software-properties-common \
|
| 31 |
# && apt-get -y update \
|
|
|
|
| 10 |
ARG TARGETPLATFORM
|
| 11 |
|
| 12 |
RUN useradd -m -u 1000 user
|
|
|
|
| 13 |
|
| 14 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
| 15 |
build-essential \
|
|
|
|
| 21 |
git && \
|
| 22 |
rm -rf /var/lib/apt/lists/*
|
| 23 |
|
|
|
|
|
|
|
| 24 |
RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
| 25 |
|
| 26 |
+
USER user
|
| 27 |
+
|
| 28 |
#RUN apt-get -y update \
|
| 29 |
# && apt-get install -y software-properties-common \
|
| 30 |
# && apt-get -y update \
|