diff --git a/Dockerfile b/Dockerfile index 491277b2f..3c742203f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ VOLUME /tmp COPY --from=build build/target/libraries /app/libraries COPY --from=build build/target/PeerBanHelper.jar /app/PeerBanHelper.jar ENV PATH="${JAVA_HOME}/bin:${PATH}" -ENTRYPOINT ${JAVA_HOME}/bin/java ${JAVA_OPTS} -jar PeerBanHelper.jar \ No newline at end of file +ENTRYPOINT ["sh", "-c", "${JAVA_HOME}/bin/java ${JAVA_OPTS} -jar PeerBanHelper.jar"] \ No newline at end of file