Compare commits

...

3 Commits

Author SHA1 Message Date
darroyo 386dd2d6a2 Merge pull request 'develop' (#18) from develop into main
Personal/recall/pipeline/head This commit looks good
Reviewed-on: #18
2026-03-24 17:48:21 +00:00
darroyo 85e6304bae fix: Use absolute path for DATABASE_URL to avoid working directory issues 2026-03-24 14:46:15 -03:00
darroyo cf6b5785d7 fix: Change to /app directory before running prisma and node 2026-03-24 13:13:09 -03:00
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ EXPOSE 3000
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
ENV DATABASE_URL="file:./data/dev.db"
ENV DATABASE_URL="file:/app/data/dev.db"
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["node", "server.js"]
+1 -1
View File
@@ -8,5 +8,5 @@ services:
volumes:
- ./data:/app/data
environment:
- DATABASE_URL=file:./data/dev.db
- DATABASE_URL=file:/app/data/dev.db
restart: unless-stopped
+2
View File
@@ -1,6 +1,8 @@
#!/bin/bash
set -e
cd /app
# Initialize database if it doesn't exist or schema changed
echo "Checking database..."