Move install of python requirements into setup.sh
This commit is contained in:
parent
f51fe5571b
commit
a99474b55c
@ -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"
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user