Files
monitorRPi/Dockerfile
T
2026-06-02 17:31:57 +02:00

15 lines
228 B
Docker

FROM node:24-alpine
WORKDIR /app
RUN apk add --no-cache openssh-client sshpass
COPY server.js dashboard.html config.html config.json ./
ENV PORT=8787
ENV CONFIG_PATH=/data/config.json
EXPOSE 8787
CMD ["node", "server.js"]