mirror of
https://github.com/pi-hole/docs.git
synced 2026-02-14 23:18:30 +00:00
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user