-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
39 lines (31 loc) · 1.56 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM rocker/hadleyverse:latest
MAINTAINER Marcin Kosiński "[email protected]"
# curl for httr and rvest
# RUN apt-get update \
# && apt-get install -t unstable -y --no-install-recommends \
# libcurl4-openssl-dev \
# libssl1.0.0
# install additional packages
RUN R -e "install.packages('shinydashboard', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('leaflet', repos='https://cran.rstudio.com/')"
#RUN R -e "install.packages('dplyr', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('ggmap', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('stringi', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('RSQLite', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('DT',repos='https://cran.rstudio.com/')"
#RUN R -e "install.packages('xml2', repos='https://cran.rstudio.com/')"
#RUN R -e "install.packages('rvest', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('stringr', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('RSelenium', repos='https://cran.rstudio.com/')"
#RUN R -e "install.packages('httr', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('pbapply', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('stringdist', repos='https://cran.rstudio.com/')"
RUN R -e "install.packages('data.table', repos='https://cran.rstudio.com/')"
RUN mkdir -p app/Rscripts app/dane app/dicts
ADD Rscripts /app/Rscripts
ADD dane /app/dane
ADD dicts /app/dicts
ADD 000_runme.R /app/
VOLUME /srv/shiny-server/CzasDojazdu/
WORKDIR /app
CMD R -f /app/000_runme.R