Spaces:
Runtime error
Runtime error
manojpatil
commited on
Commit
•
2d67215
1
Parent(s):
e3b9720
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -15,4 +15,10 @@ WORKDIR $HOME/app
|
|
15 |
|
16 |
COPY --chown=user . $HOME/app
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
15 |
|
16 |
COPY --chown=user . $HOME/app
|
17 |
|
18 |
+
|
19 |
+
### Update permissions for the app
|
20 |
+
USER root
|
21 |
+
RUN chmod 777 ~/app/*
|
22 |
+
USER user
|
23 |
+
|
24 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|