fix: corrections SW cache, nginx proxy, sw.js no-cache — 2026-05-01 05:48

This commit is contained in:
Claude Deploy
2026-05-01 05:48:38 +00:00
parent 5dc52a0413
commit 16820c5c14
9 changed files with 25 additions and 48 deletions
+1 -10
View File
@@ -44,13 +44,4 @@ ENV PORT=3001
# JWT_SECRET doit être injecté via variable d'environnement au runtime
HEALTHCHECK --interval=30s --timeout=10s --start-period=20s --retries=3 \
CMD wget -qO- http://localhost:3001/api/health || exit 1
EXPOSE 3001
# Volume pour SQLite DB + uploads (persistant entre les redémarrages)
VOLUME ["/app/data"]
# ts-node --transpile-only : contourne les erreurs de compilation tsc
# (dist/index.js produit par tsc est tronqué sur certains environnements Alpine)
CMD ["node_modules/.bin/ts-node", "--transpile-only", "src/index.ts"]
CMD wget -qO- http://localhost: