mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-27 17:28:02 +01:00
additional requirements.txt for devcontainer only
inside the dev container default config there now is a 'additional-dev-requirements.txt' file that allows us to ship additional python packages requirements with a default development config.
This commit is contained in:
parent
fea1ba04f0
commit
e0d809c3a3
2 changed files with 5 additions and 3 deletions
|
@ -9,9 +9,10 @@ RUN apt-get install --no-install-recommends -y \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel
|
||||
|
||||
# Install craftbeerpi requirements for better caching
|
||||
COPY ./requirements.txt /workspace/requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r /workspace/requirements.txt
|
||||
# Install craftbeerpi requirements and additional-dev-requirements for better caching
|
||||
COPY ./requirements.txt ./.devcontainer/cbpi-default-dev-config/additional-dev-requirements.txt /workspace/
|
||||
RUN cat /workspace/additional-dev-requirements.txt 2>/dev/null 1>> /workspace/requirements.txt \
|
||||
&& pip3 install --no-cache-dir -r /workspace/requirements.txt
|
||||
|
||||
# Install current version of cbpi-ui
|
||||
RUN mkdir /opt/downloads \
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
cbpi4-SimulatedSensor==0.0.2
|
Loading…
Reference in a new issue