Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -51,6 +51,7 @@ RUN pip install -r requirements.txt
|
|
| 51 |
|
| 52 |
RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
| 53 |
|
|
|
|
| 54 |
USER user
|
| 55 |
WORKDIR /app
|
| 56 |
|
|
@@ -59,8 +60,6 @@ RUN --mount=type=secret,id=BULK_ENERGY_TOKEN,mode=0444,required=true \
|
|
| 59 |
git init && \
|
| 60 |
git remote add origin $(cat /run/secrets/BULK_ENERGY_TOKEN)
|
| 61 |
|
| 62 |
-
|
| 63 |
-
COPY --chown=user . /app
|
| 64 |
#RUN chmod 777 /app/*.py
|
| 65 |
#RUN chmod 777 /app/attempts.txt
|
| 66 |
#RUN chmod 777 /app/failed_attempts.txt
|
|
|
|
| 51 |
|
| 52 |
RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmark.git /optimum-benchmark && cd optimum-benchmark && pip install -e .
|
| 53 |
|
| 54 |
+
COPY --chown=user . /app
|
| 55 |
USER user
|
| 56 |
WORKDIR /app
|
| 57 |
|
|
|
|
| 60 |
git init && \
|
| 61 |
git remote add origin $(cat /run/secrets/BULK_ENERGY_TOKEN)
|
| 62 |
|
|
|
|
|
|
|
| 63 |
#RUN chmod 777 /app/*.py
|
| 64 |
#RUN chmod 777 /app/attempts.txt
|
| 65 |
#RUN chmod 777 /app/failed_attempts.txt
|