Update Dockerfile to configure Poetry virtual environments in-project
Browse files- 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.
|
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
|