Refactor Dockerfile to build upon rapidftr:base