Updated this to the latest version of develop, got rid of most of the duplication, might be missing some packages in toml, needs testing
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -18,12 +18,16 @@ COPY . ./
|
||||
|
||||
COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
|
||||
|
||||
RUN apt update && apt install -y ffmpeg
|
||||
|
||||
RUN pip install openai-whisper
|
||||
|
||||
# openai-whisper model in not compatible with the newer 2.0.0 numpy release
|
||||
RUN pip install --upgrade numpy<2
|
||||
RUN apt update && apt install -y \
|
||||
ffmpeg \
|
||||
poppler-utils \
|
||||
texlive-latex-base \
|
||||
texlive-fonts-recommended \
|
||||
texlive-latex-extra \
|
||||
texlive-xetex \
|
||||
pandoc \
|
||||
librsvg2-bin \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user