summaryrefslogtreecommitdiffhomepage
path: root/docker/entrypoint.dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/entrypoint.dev.sh')
-rw-r--r--docker/entrypoint.dev.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/entrypoint.dev.sh b/docker/entrypoint.dev.sh
new file mode 100644
index 0000000..b28b44f
--- /dev/null
+++ b/docker/entrypoint.dev.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -euo pipefail
+
+# Install/update dependencies.
+# Source code is bind-mounted from the host; node_modules lives on the host
+# filesystem via the bind mount so it persists across container restarts
+# and is shared between the api and frontend services.
+bun install
+
+# Execute the main command
+exec "$@"