latest node tested
Browse files- Dockerfile +8 -16
Dockerfile
CHANGED
@@ -36,22 +36,14 @@ RUN apt-get install -y \
|
|
36 |
RUN wget https://github.com/Alex313031/thorium/releases/download/M117.0.5938.157/thorium-browser_117.0.5938.157_amd64.deb && \
|
37 |
dpkg -i thorium-browser_117.0.5938.157_amd64.deb
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
RUN source "$HOME/.nvm/nvm.sh" && \
|
48 |
-
source "$HOME/.bashrc" && \
|
49 |
-
nvm --version && \
|
50 |
-
nvm install 18.17.0 && \
|
51 |
-
nvm alias default 18.17.0 && \
|
52 |
-
npm install -g npm@9.6.7
|
53 |
-
USER admin
|
54 |
-
|
55 |
# Copy the application code
|
56 |
COPY --chown=admin . /srv
|
57 |
|
|
|
36 |
RUN wget https://github.com/Alex313031/thorium/releases/download/M117.0.5938.157/thorium-browser_117.0.5938.157_amd64.deb && \
|
37 |
dpkg -i thorium-browser_117.0.5938.157_amd64.deb
|
38 |
|
39 |
+
RUN apt-get update && apt-get install -y \
|
40 |
+
software-properties-common \
|
41 |
+
npm
|
42 |
+
RUN npm install npm@latest -g && \
|
43 |
+
npm install n -g && \
|
44 |
+
n latest
|
45 |
+
RUN echo npm -v
|
46 |
+
RUN node -v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
# Copy the application code
|
48 |
COPY --chown=admin . /srv
|
49 |
|