fix node 18 containerfile, fix typos

This commit is contained in:
Wyatt J. Miller 2024-04-04 22:59:20 -04:00
parent e3d66b535e
commit 1e5c7ccc5c
2 changed files with 5 additions and 3 deletions

View File

@ -16,6 +16,6 @@ LABEL com.github.containers.toolbox="true" \
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
vendor="Miller Web Solutions"
# Install base development packages
# Install node 20 and related npm
RUN dnf install nodejs npm -y -q
RUN npm install typescript -g

View File

@ -16,6 +16,8 @@ LABEL com.github.containers.toolbox="true" \
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
vendor="Miller Web Solutions"
# Install base development packages
RUN dnf install nodejs18 npm -y -q
# Install node 18 and related npm
RUN dnf install nodejs18 nodejs18-npm -y -q
RUN ln -s /usr/bin/node-18 /usr/bin/node
RUN ln -s /usr/bin/npm-18 /usr/bin/npm
RUN npm install typescript -g