Move install of python requirements into setup.sh

This commit is contained in:
Flo2410 2024-02-09 19:20:12 +00:00
parent f51fe5571b
commit a99474b55c
No known key found for this signature in database
GPG Key ID: 8ECB00AC5216DC7F
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,4 @@ RUN apt-get update \
&& apt-get clean -y \ && apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install -r requirements.txt
ENV PATH="${PATH}:./node_modules/.bin" ENV PATH="${PATH}:./node_modules/.bin"

View File

@ -3,6 +3,8 @@
# Install Node packages # Install Node packages
pnpm install pnpm install
python3 -m pip install -r requirements.txt
# Copy in skeleton configuration if there is no existing configuration # Copy in skeleton configuration if there is no existing configuration
if [ ! -d "config/" ]; then if [ ! -d "config/" ]; then
echo "Adding skeleton config" echo "Adding skeleton config"