dockerfile: parametrizing entrypoint doesn't work

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-09-11 14:02:13 +02:00
parent 03895ffaf5
commit 8ba3db1a7e
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 2 deletions

View File

@ -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"]