Skip to content

Commit a0d5d0e

Browse files
authored
Merge pull request #1188 from XhmikosR/patch-2
Update Dockerfile
2 parents cbe68c0 + 00968ed commit a0d5d0e

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-alpine3.21
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)