make container work with host-process semantics

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2022-05-11 17:03:08 -06:00
parent f2ca4ed41f
commit 47d18084ba
1 changed files with 4 additions and 2 deletions

View File

@ -89,9 +89,11 @@ LABEL org.opencontainers.image.source https://github.com/democratic-csi/democrat
# if additional dlls are required can copy like this
#COPY --from=build /Windows/System32/nltest.exe /Windows/System32/nltest.exe
COPY --from=build /nodejs/node.exe /Windows/system32
COPY --from=build /app /app
WORKDIR /app
# this works for both host-process and non-host-process container semantics
COPY --from=build /nodejs/node.exe .
ENTRYPOINT [ "node.exe", "--expose-gc", "bin/democratic-csi" ]