choco-conoz commited on
Commit
c12fb57
·
1 Parent(s): 091427b

feat: add poetry run

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -16,6 +16,7 @@ RUN pip3 install poetry==2.1.3
16
  COPY src/ ./src/
17
  COPY pyproject.toml README.md /app
18
  RUN poetry install
 
19
 
20
  ENV VIRTUAL_ENV=/app/.venv
21
  ENV PATH="$VIRTUAL_ENV/bin:$PATH"
 
16
  COPY src/ ./src/
17
  COPY pyproject.toml README.md /app
18
  RUN poetry install
19
+ RUN poetry config virtualenvs.in-project true
20
 
21
  ENV VIRTUAL_ENV=/app/.venv
22
  ENV PATH="$VIRTUAL_ENV/bin:$PATH"