mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Cleanup Dockerfile.dev (#26451)
This commit is contained in:
parent
1cbb895d20
commit
c50faaef3c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user