Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
@@ -22,16 +22,12 @@ RUN apt-get update && apt-get install -y \
|
|
22 |
# basic shiny functionality
|
23 |
RUN R -q -e "install.packages(c('shiny', 'rmarkdown'))"
|
24 |
|
25 |
-
# install dependencies of the euler app
|
26 |
-
RUN R -q -e "install.packages('Rmpfr')"
|
27 |
-
|
28 |
# copy the app to the image
|
29 |
-
RUN mkdir /
|
30 |
-
COPY app.R /
|
31 |
-
|
32 |
|
33 |
COPY Rprofile.site /usr/local/lib/R/etc/
|
34 |
|
35 |
EXPOSE 3838
|
36 |
|
37 |
-
CMD ["R", "-q", "-e", "shiny::runApp('/
|
|
|
22 |
# basic shiny functionality
|
23 |
RUN R -q -e "install.packages(c('shiny', 'rmarkdown'))"
|
24 |
|
|
|
|
|
|
|
25 |
# copy the app to the image
|
26 |
+
RUN mkdir /shinyapp
|
27 |
+
COPY app.R /shinyapp/app.R
|
|
|
28 |
|
29 |
COPY Rprofile.site /usr/local/lib/R/etc/
|
30 |
|
31 |
EXPOSE 3838
|
32 |
|
33 |
+
CMD ["R", "-q", "-e", "shiny::runApp('/shinyapp')"]
|