create dockerfile from local image