From 2d3e7626c6474fdb2bf2046e66033bb3a12517e5 Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Mon, 12 Oct 2020 15:03:25 -0400 Subject: [PATCH] Unsets the flag after were done building --- build/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index 62815eb72f..db8ab3763e 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -28,8 +28,10 @@ WORKDIR /repo/src/Tgstation.Server.Host COPY src/Tgstation.Server.Host/ClientApp ClientApp 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 WORKDIR /repo