mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Install requirements.txt while building dev Dockerfile (#48268)
This commit is contained in:
parent
fd5916e067
commit
49b47fe648
@ -28,10 +28,11 @@ 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 ./
|
COPY requirements.txt requirements_test.txt requirements_test_pre_commit.txt ./
|
||||||
COPY homeassistant/package_constraints.txt homeassistant/package_constraints.txt
|
COPY homeassistant/package_constraints.txt homeassistant/package_constraints.txt
|
||||||
RUN pip3 install -r requirements_test.txt \
|
RUN pip3 install -r requirements.txt \
|
||||||
&& rm -rf requirements_test.txt requirements_test_pre_commit.txt homeassistant/
|
&& pip3 install -r requirements_test.txt \
|
||||||
|
&& rm -rf requirements.txt 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…
x
Reference in New Issue
Block a user