From c9be0c8e2618462ca345e3f46cb620df51d99b78 Mon Sep 17 00:00:00 2001 From: SalkCoding Date: Wed, 18 Dec 2024 21:29:04 +0900 Subject: [PATCH] =?UTF-8?q?AI=20=ED=99=98=EA=B2=BD=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index a285a15..5b00a9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,15 +24,11 @@ RUN gradle build --no-daemon FROM openjdk:17.0.1-jdk-slim # debian 기반 -RUN apt update && apt upgrade -y && apt clean && rm -rf /var/lib/apt/lists/* +# Debian 기반 +RUN apt update && apt upgrade -y && apt install -y python3 python3-pip && \ + pip3 install pandas scikit-learn xgboost tensorflow && \ + apt clean && rm -rf /var/lib/apt/lists/* -RUN apt install -y python3 -RUN apt install -y pip3 - -RUN pip install -y pandas -RUN pip install -y scikit-learn -RUN pip install -y xgboost -RUN pip install -y tensorflow # 작업 디렉토리 설정 WORKDIR /app