whatsapp_bridge/Dockerfile aktualisiert
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
# Wir nutzen das Standard Alpine Image von Docker Hub
|
||||
FROM alpine:3.19
|
||||
|
||||
# System-Abhängigkeiten (inkl. bash für bashio Kompatibilität)
|
||||
RUN apk add --no-cache \
|
||||
nodejs \
|
||||
npm \
|
||||
@@ -15,20 +13,16 @@ RUN apk add --no-cache \
|
||||
bash \
|
||||
curl
|
||||
|
||||
# Puppeteer Konfiguration
|
||||
ENV CHROME_BIN=/usr/bin/chromium-browser \
|
||||
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Node-Abhängigkeiten installieren
|
||||
COPY package.json ./
|
||||
RUN npm install --production
|
||||
|
||||
# App-Code kopieren
|
||||
COPY . .
|
||||
|
||||
# Start-Skript vorbereiten
|
||||
RUN chmod a+x /app/run.sh
|
||||
|
||||
CMD [ "/app/run.sh" ]
|
||||
Reference in New Issue
Block a user