dsmueller commited on
Commit
b75e6f3
1 Parent(s): 72143fc

Update Dockerfile to configure Poetry virtual environments in-project

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -27,10 +27,9 @@ COPY --chown=user pyproject.toml poetry.lock ./
27
 
28
  # Disable virtual environments creation by Poetry
29
  # as the Docker container itself is an isolated environment
30
- RUN poetry config virtualenvs.create false
31
 
32
  # Install dependencies
33
- # RUN pip3 install -r requirements.txt
34
  RUN poetry install
35
 
36
  # Copy the current directory contents into the container
 
27
 
28
  # Disable virtual environments creation by Poetry
29
  # as the Docker container itself is an isolated environment
30
+ RUN poetry config virtualenvs.in-project true
31
 
32
  # Install dependencies
 
33
  RUN poetry install
34
 
35
  # Copy the current directory contents into the container