From b5f565cf19a36807a6ba9ff4fdc69e347c010554 Mon Sep 17 00:00:00 2001 From: "Tom C (DLS)" <101418278+coretl@users.noreply.github.com> Date: Fri, 21 Jun 2024 10:18:10 +0100 Subject: [PATCH] Use dev-requirements.txt in the Dockerfile As discovered in https://github.com/DiamondLightSource/blueapi/pull/499 --- template/Dockerfile.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/Dockerfile.jinja b/template/Dockerfile.jinja index a2131db7..fa1bd1d3 100644 --- a/template/Dockerfile.jinja +++ b/template/Dockerfile.jinja @@ -16,7 +16,7 @@ ENV PATH=/venv/bin:$PATH FROM developer as build COPY . /context WORKDIR /context -RUN pip install . +RUN touch dev-requirements.txt && pip install -c dev-requirements.txt . # The runtime stage copies the built venv into a slim runtime container FROM python:${PYTHON_VERSION}-slim as runtime