mirror of
https://github.com/pi-hole/docs.git
synced 2025-12-20 11:18:37 +00:00
@@ -1,11 +1,14 @@
|
|||||||
FROM node:21-alpine3.19
|
FROM node:22-alpine3.21
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
git \
|
git \
|
||||||
nano\
|
nano \
|
||||||
openssh \
|
openssh \
|
||||||
py3-pip
|
py3-pip
|
||||||
|
|
||||||
ENV USER node
|
ENV USER node
|
||||||
USER $USER
|
USER ${USER}
|
||||||
|
|
||||||
# python packages (as mkdocs) are installed in the user's home directory
|
# python packages (as mkdocs) are installed in the user's home directory
|
||||||
# but we need them to be accessible from $PATH
|
# but we need them to be accessible from ${PATH}
|
||||||
ENV PATH="$PATH:/home/$USER/.local/bin"
|
ENV PATH="${PATH}:/home/${USER}/.local/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user