From c50faaef3cbfb21d16e02c365503cf854dbc55f6 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 5 Sep 2019 14:20:08 +0200 Subject: [PATCH] Cleanup Dockerfile.dev (#26451) --- Dockerfile.dev | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 00f5576bdbb..457dc7b3d0f 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -23,9 +23,10 @@ RUN git clone --depth 1 https://github.com/home-assistant/hass-release \ WORKDIR /workspaces -# Install Python dependencies from requirements.txt if it exists -COPY requirements_test_all.txt homeassistant/package_constraints.txt /workspaces/ -RUN pip3 install -r requirements_test_all.txt -c package_constraints.txt +# Install Python dependencies from requirements +COPY requirements_test_all.txt homeassistant/package_constraints.txt ./ +RUN pip3 install -r requirements_test_all.txt -c package_constraints.txt \ + && rm -f requirements_test_all.txt package_constraints.txt # Set the default shell to bash instead of sh ENV SHELL /bin/bash