23 lines
554 B
Docker
23 lines
554 B
Docker
|
|
# QUIXZOOM AI Workers Dockerfile
|
||
|
|
FROM node:20-alpine
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
# Install dependencies (inklusive TensorFlow.js för ARM64)
|
||
|
|
RUN apk add --no-cache python3 make g++
|
||
|
|
|
||
|
|
COPY package.json ./
|
||
|
|
RUN npm install --production
|
||
|
|
|
||
|
|
# Copy application code
|
||
|
|
COPY workers/ ./workers/
|
||
|
|
COPY app/ ./app/
|
||
|
|
COPY urban-knowledge-graph/ ./urban-knowledge-graph/
|
||
|
|
COPY identity-engine/ ./identity-engine/
|
||
|
|
COPY fleet-intelligence/ ./fleet-intelligence/
|
||
|
|
COPY value-score/ ./value-score/
|
||
|
|
COPY persistence/ ./persistence/
|
||
|
|
|
||
|
|
# Start workers
|
||
|
|
CMD ["node", "workers/ai-preprocessing.js"]
|