Login feature flag added.
This commit is contained in:
@@ -16,6 +16,10 @@ FROM oven/bun:1 AS runtime
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ENV DB_PATH=/app/data/app.db
|
||||
# Runtime feature flags (D-015) — override at `docker run -e` / compose time.
|
||||
# AUTH_ENABLED=false disables login/register (the auth API 404s and the
|
||||
# client hides the Sign in UI). Defaults to enabled.
|
||||
ENV AUTH_ENABLED=true
|
||||
|
||||
COPY package.json bun.lock bunfig.toml ./
|
||||
RUN bun install --frozen-lockfile --production
|
||||
|
||||
Reference in New Issue
Block a user