# BI Agentes - Dockerfile FROM node:20-alpine # Install netbird client RUN apk add --no-cache curl bash iptables ip6tables \ && curl -fsSL https://pkgs.netbird.io/install.sh | sh WORKDIR /app # Copy package files COPY package*.json ./ # Install dependencies RUN npm ci --only=production # Copy application files COPY . . # Create data directory for SQLite RUN mkdir -p /app/data # Expose port EXPOSE 3080 # Start script will handle netbird connection COPY docker-entrypoint.sh /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh ENTRYPOINT ["/docker-entrypoint.sh"]