Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM rocker/shiny:
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y \
|
| 4 |
libcurl4-openssl-dev \
|
|
@@ -30,7 +30,7 @@ COPY app.R /srv/shiny-server/app/app.R
|
|
| 30 |
COPY OA_sheet_for_app.csv /srv/shiny-server/app/OA_sheet_for_app.csv
|
| 31 |
COPY all_players_enriched_multiseason.csv /srv/shiny-server/app/all_players_enriched_multiseason.csv
|
| 32 |
|
| 33 |
-
RUN
|
| 34 |
&& chmod +x /start.sh
|
| 35 |
|
| 36 |
EXPOSE 7860
|
|
|
|
| 1 |
+
FROM rocker/shiny:4.4.0
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y \
|
| 4 |
libcurl4-openssl-dev \
|
|
|
|
| 30 |
COPY OA_sheet_for_app.csv /srv/shiny-server/app/OA_sheet_for_app.csv
|
| 31 |
COPY all_players_enriched_multiseason.csv /srv/shiny-server/app/all_players_enriched_multiseason.csv
|
| 32 |
|
| 33 |
+
RUN printf '#!/bin/bash\ncd /srv/shiny-server/app && Rscript -e "shiny::runApp(\".\", host=\"0.0.0.0\", port=7860)" 2>&1\n' > /start.sh \
|
| 34 |
&& chmod +x /start.sh
|
| 35 |
|
| 36 |
EXPOSE 7860
|