FROM node:20-alpine # Install cifs-utils and bash for SMB mounting RUN apk add --no-cache cifs-utils bash util-linux WORKDIR /app COPY package*.json ./ RUN npm install --production COPY . . COPY entrypoint.sh ./ RUN chmod +x ./entrypoint.sh EXPOSE 3100 # Entrypoint script handles SMB mounting before starting Node ENTRYPOINT ["./entrypoint.sh"]