Browse Source

poetry no root in dockerfile

Sean 3 năm trước cách đây
mục cha
commit
40cd118370
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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