Spaces:
Running
on
T4
Running
on
T4
Nikita
commited on
Commit
·
5d5bc3a
1
Parent(s):
2c46e17
ownership with id
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -29,7 +29,8 @@ COPY tirex /app/tirex
|
|
| 29 |
|
| 30 |
# Change ownership of the /app directory to the container's non-root user.
|
| 31 |
# This is crucial to allow the application to create cache files and directories.
|
| 32 |
-
RUN chown -R
|
|
|
|
| 33 |
|
| 34 |
# Expose the default port
|
| 35 |
EXPOSE 7860
|
|
|
|
| 29 |
|
| 30 |
# Change ownership of the /app directory to the container's non-root user.
|
| 31 |
# This is crucial to allow the application to create cache files and directories.
|
| 32 |
+
RUN chown -R 1000:1000 /app
|
| 33 |
+
|
| 34 |
|
| 35 |
# Expose the default port
|
| 36 |
EXPOSE 7860
|