Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2024-02-23 21:02:24 +00:00
parent 7f69eb0319
commit 938d62425f
2 changed files with 5 additions and 3 deletions

View File

@@ -4,5 +4,8 @@ RUN apk add --no-cache \
nano\
openssh \
py3-pip
USER node
ENV USER node
USER $USER
# python packages (as mkdocs) are installed in the user's home directory
# but we need them to be accessible from $PATH
ENV PATH="$PATH:/home/$USER/.local/bin"

View File

@@ -1,4 +1,3 @@
#! /bin/sh
npm install
pip3 install -r requirements.txt --break-system-packages --no-warn-script-location
export PATH="$HOME/.local/bin:$PATH"