Spaces:
Runtime error
Runtime error
Martin Nguyen
commited on
Commit
·
4aabfda
1
Parent(s):
d3e3094
Fix python
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -11,6 +11,8 @@ RUN apt-get update && apt-get install -y \
|
|
11 |
python3 \
|
12 |
python3-pip
|
13 |
|
14 |
-
RUN
|
|
|
|
|
15 |
|
16 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|
|
|
11 |
python3 \
|
12 |
python3-pip
|
13 |
|
14 |
+
RUN rm /usr/lib/python*/EXTERNALLY-MANAGED && \
|
15 |
+
python3 -m ensurepip && \
|
16 |
+
pip3 install -r requirements.txt
|
17 |
|
18 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|