From 9a7d3d603612939d5ff13d3405321be8d5b856e8 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Tue, 2 May 2023 09:07:55 +0800 Subject: [PATCH] install nodejs into the container --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 076eb33..9e98860 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,8 @@ RUN curl -SL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \ && apt-get install -y git-lfs \ # install golangci-lint && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI_LINT_VERSION} \ - && golangci-lint --version + && golangci-lint --version \ + && curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get -qqy install nodejs USER gitea RUN git config --global --add safe.directory '*'