kann deployed werde (zum ersten Mal)

This commit is contained in:
2025-08-19 13:43:37 +00:00
parent b3b411db1a
commit e7e6cb97ca
12 changed files with 453 additions and 92 deletions

21
Dockerfile_esp2sensor Normal file
View File

@@ -0,0 +1,21 @@
# Node.js 20 LTS als Basis
FROM node:20-alpine
# Arbeitsverzeichnis
WORKDIR /app
# package.json + package-lock.json kopieren
COPY package*.json ./
# Dependencies installieren
RUN npm install
# Restliche App-Dateien kopieren
COPY . .
# Port in Container
EXPOSE 3000
# Startkommando
# CMD ["npm", "run", "dev"]
CMD ["npm", "start"]