HANNAH LEE commited on
Commit
d5919f6
·
verified ·
1 Parent(s): f592635

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -11
Dockerfile CHANGED
@@ -1,18 +1,15 @@
1
  # 베이스 이미지 설정
2
  FROM python:3.10
3
 
4
- # Miniconda 설치
5
- RUN apt-get update && apt-get install -y wget && \
6
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
7
- bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda && \
8
- rm Miniconda3-latest-Linux-x86_64.sh && \
9
- /opt/conda/bin/conda clean -afy
10
 
11
- # Conda 환경 변수 설정
12
- ENV PATH="/opt/conda/bin:$PATH"
13
-
14
- # Conda를 이용한 Graphviz 설치
15
- RUN conda install -y graphviz
16
 
17
  # Python 패키지 설치
18
  COPY requirements.txt .
 
1
  # 베이스 이미지 설정
2
  FROM python:3.10
3
 
4
+ # 시스템 패키지 업데이트 및 소스 설치 도구 설치
5
+ RUN apt-get update && \
6
+ apt-get install -y wget build-essential libtool libgvc6 graphviz-dev
 
 
 
7
 
8
+ # Graphviz 소스 다운로드 및 컴파일
9
+ RUN wget https://gitlab.com/graphviz/graphviz/-/archive/main/graphviz-main.tar.gz && \
10
+ tar -xzf graphviz-main.tar.gz && \
11
+ cd graphviz-main && \
12
+ ./autogen.sh && ./configure && make && make install
13
 
14
  # Python 패키지 설치
15
  COPY requirements.txt .