refactor dockerfile