Skip to content

Commit f0176c3

Browse files
author
XhmikosR
authored
Update Dockerfile
Signed-off-by: XhmikosR <[email protected]>
1 parent bae942c commit f0176c3

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.devcontainer/Dockerfile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
FROM node:21-alpine3.19
1+
FROM node:22-alpine
2+
23
RUN apk add --no-cache \
3-
git \
4-
nano\
5-
openssh \
6-
py3-pip
4+
git \
5+
nano \
6+
openssh \
7+
py3-pip
8+
79
ENV USER node
8-
USER $USER
10+
USER ${USER}
11+
912
# python packages (as mkdocs) are installed in the user's home directory
10-
# but we need them to be accessible from $PATH
11-
ENV PATH="$PATH:/home/$USER/.local/bin"
13+
# but we need them to be accessible from ${PATH}
14+
ENV PATH="${PATH}:/home/${USER}/.local/bin"

0 commit comments

Comments
 (0)