From 2b6292fd91c3fc8da70d01acda7e89d1e0c93ffb Mon Sep 17 00:00:00 2001 From: rschoene <rene.schoene@tu-dresden.de> Date: Thu, 28 Jan 2021 16:57:55 +0100 Subject: [PATCH] Use shell as entrypoint --- Dockerfile | 2 +- build-view.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a408aca..b06bc73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ RUN npm install -g @angular/cli@11.1.1 VOLUME ["/data"] VOLUME ["/dist"] RUN chmod +x build-view.sh && ln -s /dist && cd src/ && ln -s /data -ENTRYPOINT ["./build-view.sh"] +ENTRYPOINT ["/bin/sh"] diff --git a/build-view.sh b/build-view.sh index f8f1dc9..6ed2a5a 100755 --- a/build-view.sh +++ b/build-view.sh @@ -1,2 +1,2 @@ #!/bin/sh -ng build --base-href . --delete-output-path=false +ng build --base-href . --delete-output-path=false $@ -- GitLab