We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658cf11 commit 6028b1fCopy full SHA for 6028b1f
docker/app.Dockerfile
@@ -43,6 +43,14 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
43
DOCKER_BUILD=1
44
45
WORKDIR /app
46
+
47
+# Provide dummy database URLs during image build so server code that imports @sim/db
48
+# can be evaluated without crashing. Runtime environments should override these.
49
+ARG DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
50
+ARG POSTGRES_URL="postgresql://user:pass@localhost:5432/dummy"
51
+ENV DATABASE_URL=${DATABASE_URL}
52
+ENV POSTGRES_URL=${POSTGRES_URL}
53
54
RUN bun run build
55
56
# ========================================
0 commit comments