mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 12:16:29 +00:00
Update Dockerfile
This commit is contained in:
parent
23b65cb479
commit
edc5e5e812
@ -34,10 +34,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Python dependencies from requirements.txt if it exists
|
# Install Python dependencies from requirements.txt if it exists
|
||||||
COPY requirements.txt requirements_tests.txt /workspaces/
|
COPY requirements.txt requirements_tests.txt .
|
||||||
RUN pip install -r requirements.txt \
|
RUN pip3 install -r requirements_tests.txt -r requirements_tests.txt \
|
||||||
&& pip3 install -r requirements_tests.txt \
|
&& pip3 install black tox \
|
||||||
&& pip install black tox
|
&& rm -f requirements.txt requirements_tests.txt
|
||||||
|
|
||||||
# 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