Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -8,5 +8,7 @@ COPY --chown=user . $HOME/app
|
|
| 8 |
COPY ./requirements.txt ~/app/requirements.txt
|
| 9 |
RUN pip install -r requirements.txt
|
| 10 |
COPY . .
|
|
|
|
| 11 |
RUN chown -R user:user $HOME/app
|
|
|
|
| 12 |
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|
|
|
|
| 8 |
COPY ./requirements.txt ~/app/requirements.txt
|
| 9 |
RUN pip install -r requirements.txt
|
| 10 |
COPY . .
|
| 11 |
+
USER root
|
| 12 |
RUN chown -R user:user $HOME/app
|
| 13 |
+
USER user
|
| 14 |
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|