|
|
@ -11,7 +11,7 @@ ENV APP_NAME victim |
|
|
|
COPY --from=build /usr/local/src/build/install/${APP_NAME}/bin/${APP_NAME} /usr/local/bin/app |
|
|
|
COPY --from=build /usr/local/src/build/install/${APP_NAME}/lib/ /usr/local/lib/ |
|
|
|
|
|
|
|
RUN echo '#!/bin/sh\n/usr/local/bin/app $@ && tail -f /dev/null' > /entrypoint.sh |
|
|
|
RUN echo '#!/bin/sh\n/usr/local/bin/app $@' > /entrypoint.sh |
|
|
|
RUN chmod +x /entrypoint.sh |
|
|
|
|
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ] |
|
|
|