Skip to content

Commit 6bf4185

Browse files
committed
OTP and shiny proxy issue
1 parent 4239854 commit 6bf4185

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/docker-build-push.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ jobs:
4747
with:
4848
context: .
4949
push: true
50-
no-cache: true
50+
no-cache: false
5151
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.vars.outputs.tag }}

‎Dockerfile‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,9 @@ EXPOSE 3838
7878
# ---- Copy entrypoint script ----
7979
COPY entrypoint.sh /usr/no-code-app/entrypoint.sh
8080
RUN chmod +x /usr/no-code-app/entrypoint.sh
81+
82+
# ---- Run as non-root user ----
83+
USER shiny
84+
85+
# ---- Use entrypoint to initialize users.sqlite if first install ----
86+
ENTRYPOINT ["/usr/no-code-app/entrypoint.sh"]

0 commit comments

Comments
 (0)