Dateien nach "/" hochladen

This commit is contained in:
2026-06-30 20:02:07 +00:00
parent 75c2d8ac3a
commit 761fdfeb60
5 changed files with 261 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
ENV NODE_ENV=production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/healthz || exit 1
CMD ["node", "server.js"]