From 15300d3e42755f174a41a3a1b777602afb98390c Mon Sep 17 00:00:00 2001
From: root
Date: Mon, 15 Jun 2026 11:32:14 +0200
Subject: [PATCH] fix: basePath=/mobile, Traefik health check, DB perms, demo
email fix, login UI text bump
---
Dockerfile | 2 +-
next.config.ts | 2 ++
src/app/login/page.tsx | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 0726c12..e247493 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@ COPY public ./public
COPY prisma ./prisma
COPY node_modules/.prisma ./node_modules/.prisma
-RUN rm -f .env && mkdir -p /app/data && chown -R nextjs:nodejs /app
+RUN rm -f .env && mkdir -p /app/data && chown -R nextjs:nodejs /app /app/prisma/dev.db
USER nextjs
EXPOSE 3000
diff --git a/next.config.ts b/next.config.ts
index dd13398..a2efe7e 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -2,6 +2,8 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
+ basePath: "/mobile",
+ assetPrefix: "/mobile",
typescript: {
ignoreBuildErrors: true,
},
diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx
index b794848..e556324 100644
--- a/src/app/login/page.tsx
+++ b/src/app/login/page.tsx
@@ -138,7 +138,7 @@ export default function LoginPage() {
Email:{" "}
- demo@falah.app
+ demo@falahos.my
Password:{" "}