Refactor dockerfile with WORKDIR