Spaces:
Running
Running
HANNAH LEE commited on
Update Dockerfile
Browse files- Dockerfile +8 -11
Dockerfile
CHANGED
|
@@ -1,18 +1,15 @@
|
|
| 1 |
# 베이스 이미지 설정
|
| 2 |
FROM python:3.10
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
RUN apt-get update &&
|
| 6 |
-
wget
|
| 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 |
-
#
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 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 .
|