diff --git a/build/Dockerfile b/build/Dockerfile index 32b0892ad0..1cc36ca240 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -17,7 +17,7 @@ RUN . $NVM_DIR/nvm.sh \ && apt-get install -y \ dos2unix \ && rm -rf /var/lib/apt/lists/* \ - && npm install -g npm + && npm install -g npm yarn # Build web control panel WORKDIR /repo/build @@ -32,10 +32,7 @@ COPY src/Tgstation.Server.Host/Tgstation.Server.Host.csproj ./ # I cant figure out how to run npm as non root so eh RUN npm set unsafe-perm true RUN dotnet msbuild -target:NpmBuild -RUN npm set unsafe-perm false - -#Install yarn globally for webpanel -RUN npm install -g yarn +RUN npm set unsafe-perm fals WORKDIR /repo