From 856f955bd42853a1826ea36dfb50ad8f8093ca4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 11 Sep 2020 14:02:13 +0200 Subject: [PATCH] dockerfile: parametrizing entrypoint doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2a54ada5d..fe92eb715 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,8 +32,8 @@ RUN apk add --no-cache libgcc pcre-dev # Fix for 'Error loading shared library libpcre.so.3: No such file or directory' RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3 -COPY --from=nim-build /app/build/${MAKE_TARGET} /usr/bin/${MAKE_TARGET} +COPY --from=nim-build /app/build/${MAKE_TARGET} /usr/bin/wakunode -ENTRYPOINT ["/usr/bin/${MAKE_TARGET}"] +ENTRYPOINT ["/usr/bin/wakunode"] # By default just show help if called without arguments CMD ["--help"]