Skip to content

Commit 0f20d5b

Browse files
committed
docker environment configuration
1 parent 78c4696 commit 0f20d5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/api.Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ USER talawa
3737
RUN curl -fsSL https://fnm.vercel.app/install | bash -s -- --skip-shell \
3838
# Appends the fnm configuration to `/home/talawa/.bashrc` file.
3939
&& echo eval \"\$\(fnm env --corepack-enabled --resolve-engines --use-on-cd --version-file-strategy=recursive\)\" >> /home/talawa/.bashrc
40+
# Set the PATH for all shells
41+
ENV NODE_VERSION=23.7.0
42+
ENV PATH="/home/talawa/.local/share/fnm/node-versions/v${NODE_VERSION}/installation/bin:/home/talawa/.local/share/fnm/node-versions/v${NODE_VERSION}/installation/lib/node_modules/corepack/shims:${PATH}"
4043
ENV PATH=/home/talawa/.local/share/fnm:${PATH}
4144
WORKDIR /home/talawa/api
4245

0 commit comments

Comments
 (0)