1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

update node version in Dockerfile

This commit is contained in:
Harvey Tindall 2022-01-30 17:18:51 +00:00
parent 62cbbf57e7
commit c6fc5765f3
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -4,7 +4,7 @@ COPY . /opt/build
RUN apt-get update -y \ RUN apt-get update -y \
&& apt-get install build-essential python3-pip curl software-properties-common sed -y \ && apt-get install build-essential python3-pip curl software-properties-common sed -y \
&& (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \ && (curl -sL https://deb.nodesource.com/setup_current.x | bash -) \
&& apt-get install nodejs \ && apt-get install nodejs \
&& (cd /opt/build; make configuration npm email typescript variants-html bundle-css inline-css swagger copy INTERNAL=off GOESBUILD=on) \ && (cd /opt/build; make configuration npm email typescript variants-html bundle-css inline-css swagger copy INTERNAL=off GOESBUILD=on) \
&& sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/build/data/html/setup.html && sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/build/data/html/setup.html