Spaces:
Runtime error
Runtime error
Ansal
commited on
Commit
·
1295b7e
1
Parent(s):
1eb1724
handle permissions
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -7,12 +7,13 @@ WORKDIR /code
|
|
| 7 |
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
| 10 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 11 |
-
|
| 12 |
USER root
|
| 13 |
-
RUN chmod 777
|
| 14 |
USER user
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
EXPOSE 7860
|
| 17 |
|
| 18 |
CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 7 |
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
|
|
|
|
|
|
| 10 |
USER root
|
| 11 |
+
RUN chmod 777 /code/*
|
| 12 |
USER user
|
| 13 |
|
| 14 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 15 |
+
|
| 16 |
+
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|