drewThomasson commited on
Commit
954262a
·
verified ·
1 Parent(s): c31f09e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 distutils \
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
- # Upgrade pip and ensure compatibility
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