Upload via GUI (39 Dateien)

This commit is contained in:
Git Manager GUI
2026-08-02 17:01:18 +02:00
parent a803f297ea
commit eff6403dd5
26 changed files with 3536 additions and 134 deletions

View File

@@ -0,0 +1,19 @@
FROM node:22-alpine
# keine Abhängigkeiten das Programm nutzt nur Node-Bordmittel
WORKDIR /app
COPY index.js ./
ENV PORT=8420 \
HOST=0.0.0.0 \
NODE_ENV=production
# nicht als root laufen
USER node
EXPOSE 8420
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD node -e "fetch('http://127.0.0.1:'+(process.env.PORT||8420)+'/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
CMD ["node", "index.js"]