Skip to content

Commit 6d0f432

Browse files
committed
[Dockerfile] Now that our packages are defined in pyproject.toml, we have to ask Pip to install our own packages in the venv
1 parent 14e21fc commit 6d0f432

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ RUN python -V
134134

135135
USER 1001:1001
136136

137+
# Install the project's packages (defined in pyproject.toml) in editable mode:
138+
RUN pip install -e .
139+
137140
RUN DJANGO_SETTINGS_MODULE=project.settings.docker_build \
138141
.venv/bin/python src/manage.py collectstatic --noinput
139142

0 commit comments

Comments
 (0)