XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Optimize dockerfile

Please do as much as possible in 1 RUN command. This is how it is intended. (Docker BP)

d634011d
bruvv <3063928+bruvv@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -3
Modified Dockerfile +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