feat: update file upload paths and add dynamic file retrieval endpoint

This commit is contained in:
2025-10-18 20:05:11 +02:00
parent fc13c94d5f
commit 1994ed5810
7 changed files with 54 additions and 4 deletions

View File

@@ -9,4 +9,4 @@ ENV NEXTAUTH_SECRET=your_super_secret_key_here_change_in_production
RUN npx prisma generate
RUN pnpm run build
EXPOSE 3000
CMD ["sh", "-c", "mkdir -p /app/prisma/data && npx prisma db push && pnpm start"]
CMD ["sh", "-c", "mkdir -p /app/prisma/data && mkdir -p /app/uploads && npx prisma db push && pnpm start"]