Spaces:
Runtime error
Runtime error
Martin Nguyen
commited on
Commit
·
d3e3094
1
Parent(s):
5e8ceb0
Update Docker
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -2,12 +2,15 @@ FROM rocker/r-base:latest
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY . .
|
6 |
-
|
7 |
RUN install2.r --error \
|
8 |
shiny \
|
9 |
jsonlite
|
10 |
|
|
|
|
|
|
|
|
|
|
|
11 |
RUN pip install -r requirements.txt
|
12 |
|
13 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
5 |
RUN install2.r --error \
|
6 |
shiny \
|
7 |
jsonlite
|
8 |
|
9 |
+
COPY . .
|
10 |
+
RUN apt-get update && apt-get install -y \
|
11 |
+
python3 \
|
12 |
+
python3-pip
|
13 |
+
|
14 |
RUN pip install -r requirements.txt
|
15 |
|
16 |
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|