1 parent 4239854 commit 6bf4185Copy full SHA for 6bf4185
2 files changed
.github/workflows/docker-build-push.yml
@@ -47,5 +47,5 @@ jobs:
47
with:
48
context: .
49
push: true
50
- no-cache: true
+ no-cache: false
51
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ steps.vars.outputs.tag }}
Dockerfile
@@ -78,3 +78,9 @@ EXPOSE 3838
78
# ---- Copy entrypoint script ----
79
COPY entrypoint.sh /usr/no-code-app/entrypoint.sh
80
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