Fix Dockerfile.dev for VS Code devcontainer (#37801)
parent
548e956670
commit
b63f882c3f
|
@ -23,9 +23,10 @@ RUN git clone --depth 1 https://github.com/home-assistant/hass-release \
|
||||||
WORKDIR /workspaces
|
WORKDIR /workspaces
|
||||||
|
|
||||||
# Install Python dependencies from requirements
|
# Install Python dependencies from requirements
|
||||||
COPY requirements_test.txt requirements_test_pre_commit.txt homeassistant/package_constraints.txt ./
|
COPY requirements_test.txt requirements_test_pre_commit.txt ./
|
||||||
RUN pip3 install -r requirements_test.txt -c package_constraints.txt \
|
COPY homeassistant/package_constraints.txt homeassistant/package_constraints.txt
|
||||||
&& rm -f requirements_test.txt package_constraints.txt requirements_test_pre_commit.txt
|
RUN pip3 install -r requirements_test.txt \
|
||||||
|
&& rm -rf requirements_test.txt requirements_test_pre_commit.txt homeassistant/
|
||||||
|
|
||||||
# Set the default shell to bash instead of sh
|
# Set the default shell to bash instead of sh
|
||||||
ENV SHELL /bin/bash
|
ENV SHELL /bin/bash
|
||||||
|
|
Loading…
Reference in New Issue