瀏覽代碼

poetry no root in dockerfile

Sean 3 年之前
父節點
當前提交
40cd118370
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -24,7 +24,7 @@ ENV PATH="/root/.local/bin:$PATH"
 # Install the env
 COPY poetry.lock .
 COPY pyproject.toml .
-RUN poetry install --no-interaction --no-ansi --without dev
+RUN poetry install --no-interaction --no-ansi --without dev --no-root
 
 # Copy the files
 COPY ocma /ocma