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"]
