Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

add build docker script

Carl-Gerhard Lindesvärd13f27825f323
diff --git a/build_docker b/build_docker
new file mode 100755
index 000000000..c81b9ea4f
--- /dev/null
+++ b/build_docker
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+docker build \
+ --build-arg DATABASE_URL="postgresql://[email protected]:5432/mixan?schema=public" \
+ --build-arg NEXTAUTH_SECRET="secret_sauce" \
+ --build-arg NEXTAUTH_URL="http://localhost:3000" \
+ -t mixan/app:1.0 \
+ -f apps/web/Dockerfile \
+ .
\ No newline at end of file