[main]: normalise csv headers
Build and Push Docker Image / build (push) Successful in 1m11s

This commit is contained in:
John Gatward
2026-08-05 09:23:34 +01:00
parent 95d8175070
commit 25b8e5c250
3 changed files with 9 additions and 2 deletions
+7
View File
@@ -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"]