From 4a78eef85b49a5161ac68720947b2b40da3e7365 Mon Sep 17 00:00:00 2001 From: stopmin Date: Wed, 17 Jul 2024 20:32:12 +0900 Subject: [PATCH] =?UTF-8?q?Dockerfile=20=EC=88=98=EC=A0=95=20-=20libgomp?= =?UTF-8?q?=20=EC=84=A4=EC=B9=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d1e6550..5c3dc60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,10 @@ FROM --platform=linux/amd64 python:3.11.4-slim-bookworm WORKDIR /app +# 필요한 시스템 패키지 설치 (libgomp 포함) RUN apt-get update && \ - apt-get install -y --no-install-recommends gcc libpq-dev libatlas-base-dev && \ - pip install --no-cache-dir pipenv \ + apt-get install -y --no-install-recommends gcc libpq-dev libatlas-base-dev libgomp1 && \ + pip install --no-cache-dir pipenv COPY Pipfile Pipfile.lock ./ RUN pipenv install --deploy --ignore-pipfile