Skip to content

Commit 761bd35

Browse files
authored
Merge pull request xtekky#468 from bruvv/patch-1
Optimize dockerfile
2 parents 1837147 + d634011 commit 761bd35

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ FROM python:3.11 as builder
33
WORKDIR /usr/app
44
ENV PATH="/usr/app/venv/bin:$PATH"
55

6-
#RUN apt-get update && apt-get install -y git
7-
RUN apt-get update
8-
RUN apt-get install ffmpeg -y #issue 445
6+
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
97

108
RUN mkdir -p /usr/app
119
RUN python -m venv ./venv

0 commit comments

Comments
 (0)