Skip to content

Commit

Permalink
Cleanup Dockerfile.dev (home-assistant#26451)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Sep 5, 2019
1 parent 1cbb895 commit c50faae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c50faae

Please sign in to comment.