From 8c0bf15c6d6dee72653a888d3b3f69fc7c1e9c2a Mon Sep 17 00:00:00 2001 From: Harel M Date: Fri, 18 Feb 2022 17:04:37 +0200 Subject: [PATCH] Remove chmod, add relative path --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 33dd437..0bee0b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ COPY --from=build /graphhopper/web/target/graphhopper*.jar ./ COPY ./config-example.yml ./ -COPY --chmod=0755 ./graphhopper.sh ./ +COPY ./graphhopper.sh ./ VOLUME [ "/data" ] @@ -28,4 +28,4 @@ EXPOSE 8989 HEALTHCHECK --interval=5s --timeout=3s CMD curl --fail http://localhost:8989/health || exit 1 -ENTRYPOINT [ "graphhopper.sh", "-c", "config-example.yml" ] +ENTRYPOINT [ "./graphhopper.sh", "-c", "config-example.yml" ]