File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ FROM ubuntu:22.04 as production
18
18
ARG TIMEZONE=UTC
19
19
20
20
# ## UPDATE ###
21
- RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
22
21
RUN apt update
23
22
24
23
# ## INSTALL APT-GET LIBS ###
@@ -30,8 +29,12 @@ RUN ln -fs /usr/share/zoneinfo/$TIMEZONE /etc/localtime && DEBIAN_FRONTEND=nonin
30
29
libtiff5-dev libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
31
30
python3-dev libavutil-dev libmp3lame-dev libx264-dev yasm autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev \
32
31
libtool libvorbis-dev pkg-config texi2html libtext-unidecode-perl python3-numpy python3-scipy perl \
33
- adb ethtool nodejs cmake git-core libsdl2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev texinfo wget \
34
- ttf-mscorefonts-installer fonts-noto fonts-roboto fonts-open-sans ffmpeg npm sudo curl xvfb
32
+ adb ethtool cmake git-core libsdl2-dev libva-dev libvdpau-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev texinfo wget \
33
+ ttf-mscorefonts-installer fonts-noto fonts-roboto fonts-open-sans ffmpeg sudo curl xvfb
34
+
35
+ # ## INSTALL NodeJS ###
36
+ RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
37
+ apt-get install nodejs npm -y
35
38
36
39
# ## UPDATE FONT CACHE ###
37
40
RUN fc-cache -f -v
You can’t perform that action at this time.
0 commit comments