Unsets the flag after were done building

This commit is contained in:
alexkar598
2020-10-12 15:03:25 -04:00
parent 0293199ff6
commit 2d3e7626c6
+2
View File
@@ -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