Merge pull request #468 from bruvv/patch-1

Optimize dockerfile
This commit is contained in:
t.me/xtekky 2023-05-07 21:00:38 +01:00 committed by GitHub
commit 761bd35a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -3,9 +3,7 @@ FROM python:3.11 as builder
WORKDIR /usr/app
ENV PATH="/usr/app/venv/bin:$PATH"
#RUN apt-get update && apt-get install -y git
RUN apt-get update
RUN apt-get install ffmpeg -y #issue 445
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/app
RUN python -m venv ./venv