返回提交历史
Modified
Dockerfile
+1
-3
XFEstudio/gpt4free
Optimize dockerfile
Please do as much as possible in 1 RUN command. This is how it is intended. (Docker BP)
d634011d
代码差异
1 个文件
+1
-3
@@ -3,9 +3,7 @@ FROM python:3.11 as builder
3
3
WORKDIR /usr/app
4
4
ENV PATH="/usr/app/venv/bin:$PATH"
5
5
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/*
9
7
10
8
RUN mkdir -p /usr/app
11
9
RUN python -m venv ./venv