瀏覽代碼

Merge pull request #712 from ironnicko/main

add curl to Docker image
Daniel Gatis 7 月之前
父節點
當前提交
6ed08b6914
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -4,6 +4,8 @@ WORKDIR /rembg
 
 RUN pip install --upgrade pip
 
+RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists/*
+
 COPY . .
 
 RUN python -m pip install ".[cpu,cli]"