This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Season,Average goals by top 3 players,Country
|
||||
Season,Average_goals_by_top_3_players,Country
|
||||
1999–20,24.333333333333332,England
|
||||
2000–01,19.666666666666668,England
|
||||
2001–02,23.333333333333332,England
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
Season,Gini coefficient,Average market value of clubs,Country
|
||||
Season,Gini_coefficient,Average market value of clubs,Country
|
||||
2004–05,0.360018498852386,116763999.95,England
|
||||
2005–06,0.3442440170940171,117000000.0,England
|
||||
2006–07,0.37966666666666665,125249999.9,England
|
||||
|
||||
|
@@ -48,6 +48,13 @@ COPY . /srv/shiny-server/
|
||||
# Permissions
|
||||
RUN chown -R shiny:shiny /srv/shiny-server
|
||||
|
||||
# Fail the image build if the app cannot start in the same user context as
|
||||
# Shiny Server, rather than discovering startup errors after deployment.
|
||||
RUN su -s /bin/sh shiny -c "cd /srv/shiny-server && R --vanilla -e 'source(\".Rprofile\"); source(\"global.R\")'"
|
||||
|
||||
EXPOSE 3838
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=90s --retries=3 \
|
||||
CMD curl --fail --silent --show-error http://127.0.0.1:3838/ || exit 1
|
||||
|
||||
CMD ["/usr/bin/shiny-server"]
|
||||
Reference in New Issue
Block a user