Skip to content

Commit ffdb317

Browse files
committed
fix: install nodejs after apt-get
1 parent f0ee0ca commit ffdb317

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ FROM ubuntu:22.04 as production
1818
ARG TIMEZONE=UTC
1919

2020
### UPDATE ###
21-
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
2221
RUN apt update
2322

2423
### INSTALL APT-GET LIBS ###
@@ -33,6 +32,9 @@ RUN ln -fs /usr/share/zoneinfo/$TIMEZONE /etc/localtime && DEBIAN_FRONTEND=nonin
3332
adb ethtool nodejs cmake git-core libsdl2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev texinfo wget \
3433
ttf-mscorefonts-installer fonts-noto fonts-roboto fonts-open-sans ffmpeg npm sudo curl xvfb
3534

35+
### INSTALL NodeJS ###
36+
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
37+
3638
### UPDATE FONT CACHE ###
3739
RUN fc-cache -f -v
3840

0 commit comments

Comments
 (0)