Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
|
10 |
software-properties-common && \
|
11 |
add-apt-repository ppa:deadsnakes/ppa && \
|
12 |
apt-get update && apt-get install -y \
|
13 |
-
python3.12 python3.12-venv python3.12-dev
|
14 |
wget git calibre ffmpeg libmecab-dev mecab mecab-ipadic python3-pip \
|
15 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
16 |
|
@@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y \
|
|
18 |
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \
|
19 |
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
|
20 |
|
21 |
-
#
|
22 |
RUN wget https://bootstrap.pypa.io/get-pip.py && \
|
23 |
python get-pip.py && \
|
24 |
rm get-pip.py
|
|
|
10 |
software-properties-common && \
|
11 |
add-apt-repository ppa:deadsnakes/ppa && \
|
12 |
apt-get update && apt-get install -y \
|
13 |
+
python3.12 python3.12-venv python3.12-dev \
|
14 |
wget git calibre ffmpeg libmecab-dev mecab mecab-ipadic python3-pip \
|
15 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
16 |
|
|
|
18 |
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \
|
19 |
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
|
20 |
|
21 |
+
# Install pip and dependencies manually
|
22 |
RUN wget https://bootstrap.pypa.io/get-pip.py && \
|
23 |
python get-pip.py && \
|
24 |
rm get-pip.py
|