Spaces:
Sleeping
Sleeping
coyotte508
commited on
Commit
·
8e75cdc
1
Parent(s):
8976447
try other solution
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,6 @@ RUN corepack enable \
|
|
| 14 |
|
| 15 |
# Install huggingface_hub and huggingface_hub[cli]
|
| 16 |
RUN pip install -U "huggingface_hub"
|
| 17 |
-
USER 1000
|
| 18 |
|
| 19 |
# Define a working directory
|
| 20 |
WORKDIR /app
|
|
@@ -26,6 +25,8 @@ RUN chmod +x /app/build.sh
|
|
| 26 |
COPY app.js /app/app.js
|
| 27 |
COPY index.html /app/index.html
|
| 28 |
|
|
|
|
|
|
|
| 29 |
# Command to run the build script, when launched from a job
|
| 30 |
# CMD ["/app/build.sh"]
|
| 31 |
|
|
|
|
| 14 |
|
| 15 |
# Install huggingface_hub and huggingface_hub[cli]
|
| 16 |
RUN pip install -U "huggingface_hub"
|
|
|
|
| 17 |
|
| 18 |
# Define a working directory
|
| 19 |
WORKDIR /app
|
|
|
|
| 25 |
COPY app.js /app/app.js
|
| 26 |
COPY index.html /app/index.html
|
| 27 |
|
| 28 |
+
RUN chown 1000:1000 /app
|
| 29 |
+
|
| 30 |
# Command to run the build script, when launched from a job
|
| 31 |
# CMD ["/app/build.sh"]
|
| 32 |
|