use npx to avoid looking for node_modules, get rid of useless

get_node_deps

makefile works without interaction by default now.
This commit is contained in:
Harvey Tindall
2020-10-18 00:57:53 +01:00
parent 8672d7dc18
commit 8e6cf799cd
9 changed files with 43 additions and 129 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ RUN apt update -y \
&& apt install build-essential python3-pip curl software-properties-common sed upx -y \
&& (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \
&& apt install nodejs \
&& (cd /opt/build; make headless; make compress) \
&& (cd /opt/build; make all; make compress) \
&& sed -i 's#id="pwrJfPath" placeholder="Folder"#id="pwrJfPath" value="/jf" disabled#g' /opt/build/build/data/templates/setup.html
FROM golang:latest