erp-platform/configs/deployment/Dockerfile
Sedat ÖZTÜRK e1a9562b22 init project
2025-05-06 09:45:49 +03:00

22 lines
707 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM node:18-slim
USER root
# Sistem bağımlılıklarını yükle (Prophet ve diğer ML kütüphaneleri için)
RUN apt-get update && apt-get install -y \
python3 python3-pip python3-dev \
build-essential curl unzip cmake bash make \
libffi-dev libatlas-base-dev git && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# n8n'i global olarak yükle
RUN npm install -g n8n
# Python paketlerini yükle (PEP 668 bypass edilerek)
RUN pip3 install --break-system-packages --no-cache-dir \
numpy==1.24.4 cython fire pandas matplotlib statsmodels scikit-learn \
prophet pmdarima xgboost==1.7.6 \
convertdate holidays lunarcalendar
# Kullanıcıyı tekrar node olarak ayarla
USER node