nano-rust/Dockerfile.nodejs
Ondrej Vlach 98b7848447
Some checks failed
release / deploy (push) Failing after 1m12s
feat: add image with nodejs
2023-12-03 00:51:42 +01:00

6 lines
483 B
Docker

FROM git.nanobyte.cz/nanobyte/nano-rust:latest
RUN apt-get install -y ca-certificates curl gnupg
RUN mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install -y nodejs && rm -rf /var/cache/apt*